diff options
author | Debian Live user <user@debian-BULLSEYE-live-builder-AMD64> | 2023-04-28 21:47:08 -0400 |
---|---|---|
committer | Debian Live user <user@debian-BULLSEYE-live-builder-AMD64> | 2023-04-28 21:47:08 -0400 |
commit | b00a5efe39bf1195ef0c8037093df2604afa911d (patch) | |
tree | f1869639f3cc74f6e9eb7d7efc275eaec78b7a53 /src/sliceweasel.lib.sh | |
parent | 421d0b23592c1e5838c057813b5615581494c225 (diff) |
Got some new firefox launch code working.
Now it uses a template file parameterized on $DISPLAY.
Unfortunately, this file needs to be generated dynamically on install
in order to set the IO parameters. (Might use systemd edit system for
this, actually.)
The ioslayer is also parameterized and started by the firefox unit file.
Needs a little cleanup / removal of old code.
Diffstat (limited to 'src/sliceweasel.lib.sh')
-rwxr-xr-x | src/sliceweasel.lib.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sliceweasel.lib.sh b/src/sliceweasel.lib.sh index 3b42a61..7f70e08 100755 --- a/src/sliceweasel.lib.sh +++ b/src/sliceweasel.lib.sh | |||
@@ -112,7 +112,8 @@ get_firefox_cgroup_procs() | |||
112 | { | 112 | { |
113 | uid=$(get_uid) | 113 | uid=$(get_uid) |
114 | [ "$uid" ] || return | 114 | [ "$uid" ] || return |
115 | echo /sys/fs/cgroup/user.slice/user-$uid.slice/user@$uid.service/app.slice/firefox.service/cgroup.procs | 115 | [ "$DISPLAY" ] || return |
116 | echo /sys/fs/cgroup/user.slice/user-$uid.slice/user@$uid.service/app.slice/app-firefox.slice/firefox@$DISPLAY.service/cgroup.procs | ||
116 | } | 117 | } |
117 | 118 | ||
118 | get_current_group() | 119 | get_current_group() |