summaryrefslogtreecommitdiff
path: root/sliceweasel
diff options
context:
space:
mode:
Diffstat (limited to 'sliceweasel')
-rwxr-xr-xsliceweasel2
1 files changed, 1 insertions, 1 deletions
diff --git a/sliceweasel b/sliceweasel
index ebca97f..7a0cae2 100755
--- a/sliceweasel
+++ b/sliceweasel
@@ -6,7 +6,7 @@ IO_ROOT_DIR=$HOME/.cache/mozilla/firefox/
6[ -d "$IO_ROOT_DIR" ] 6[ -d "$IO_ROOT_DIR" ]
7[ "$(id -un)" = 0 ] && AS_ROOT= || AS_ROOT='sudo --' 7[ "$(id -un)" = 0 ] && AS_ROOT= || AS_ROOT='sudo --'
8 8
9group=user.slice/user-$(id -u).slice/firefox 9group=/sys/fs/cgroup/user.slice/user-$(id -u).slice/firefox
10join_group "$group" 10join_group "$group"
11set_max_ratio "$group" memory 1/2 11set_max_ratio "$group" memory 1/2
12set_max_ratio "$group" io 9/10 12set_max_ratio "$group" io 9/10