=== modified file 'service_scripts/generic/run' --- old/service_scripts/generic/run 2021-09-02 14:35:49 +0000 +++ new/service_scripts/generic/run 2021-02-11 17:33:14 +0000 @@ -13,16 +13,6 @@ # define CONTAINER_DATA /mnt/volumes/containers/user/${CONTAINER_USER}/${CONTAINER_NAME} define -s tmpfs_dirs "home run tmp inbox run/inbox tmp/.X11-unix" } - -getpid NS_PID -foreground { - importas -i NS_PID NS_PID - if { test -d /run/cgroup2 } - if { mkdir -p /run/cgroup2/containers/${CONTAINER_USER}/${CONTAINER_NAME} } - redirfd -w 1 /run/cgroup2/containers/${CONTAINER_USER}/${CONTAINER_NAME}/cgroup.procs - printf "%s" ${NS_PID} -} - if { rm -rf ${CONTAINER_TMPFS} } if { mkdir -p ${CONTAINER_TMPFS}/${tmpfs_dirs} } if { chmod 1770 ${CONTAINER_TMPFS}/${tmpfs_dirs} } === modified file 'service_scripts/xsession/run' --- old/service_scripts/xsession/run 2021-09-02 14:35:49 +0000 +++ new/service_scripts/xsession/run 2021-02-11 17:33:14 +0000 @@ -12,16 +12,6 @@ # define CONTAINER_DATA /mnt/volumes/containers/user/${CONTAINER_USER}/${CONTAINER_NAME} define -s tmpfs_dirs "home run tmp inbox run/inbox tmp/.X11-unix" } - -getpid NS_PID -foreground { - importas -i NS_PID NS_PID - if { test -d /run/cgroup2 } - if { mkdir -p /run/cgroup2/containers/${CONTAINER_USER}/${CONTAINER_NAME} } - redirfd -w 1 /run/cgroup2/containers/${CONTAINER_USER}/${CONTAINER_NAME}/cgroup.procs - printf "%s" ${NS_PID} -} - if { rm -rf ${CONTAINER_TMPFS} } if { mkdir -p ${CONTAINER_TMPFS}/${tmpfs_dirs} } if { chmod 1770 ${CONTAINER_TMPFS}/${tmpfs_dirs} }