summaryrefslogtreecommitdiff
path: root/src/sliceweasel.lib.sh
diff options
context:
space:
mode:
authorDebian Live user <user@debian-BULLSEYE-live-builder-AMD64>2023-04-28 21:47:08 -0400
committerDebian Live user <user@debian-BULLSEYE-live-builder-AMD64>2023-04-28 21:47:08 -0400
commitb00a5efe39bf1195ef0c8037093df2604afa911d (patch)
treef1869639f3cc74f6e9eb7d7efc275eaec78b7a53 /src/sliceweasel.lib.sh
parent421d0b23592c1e5838c057813b5615581494c225 (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-xsrc/sliceweasel.lib.sh3
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
118get_current_group() 119get_current_group()