| Server IP : 192.241.186.36 / Your IP : 216.73.216.164 Web Server : Apache/2.4.29 (Ubuntu) System : Linux webserver7 4.15.0-194-generic #205-Ubuntu SMP Fri Sep 16 19:49:27 UTC 2022 x86_64 User : root ( 0) PHP Version : 7.4.32 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /snap/core/17292/etc/init/ |
Upload File : |
description "cgroup management daemon"
author "Serge Hallyn <serge.hallyn@ubuntu.com>"
respawn
expect stop
# in trusty /sys/fs/cgroup will be mounted for us.
# prior to saucy, we would need to start on mounted
# MOUNTPOINT=/sys, and mount /sys/fs/cgroup ourselves
start on mounted MOUNTPOINT=/sys/fs/cgroup or virtual-filesystems or starting dbus
stop on runlevel [06]
# to get debug output into /var/log/upstart/cgmanager.log, create/edit
# /etc/default/cgmanager and set cgmanager_opts="--debug"
env cgmanager_opts=""
# unbound subsystems cgmanager should mount. If you need to add more,
# make the list comma-separated, for instance:
# env cgm_extra_mounts="-m name=systemd,name=yyy"
env cgm_extra_mounts="-m name=systemd"
pre-start script
# Kill any existing cgproxy. This is required to allow proper
# respawning of cgmanager.
stop cgproxy >/dev/null 2>&1 || true
# check whether we should start a cgproxy or a cgmanager
if cgproxy --check-master; then
start cgproxy NESTED=yes || true && { stop; exit 0; }
fi
end script
script
[ -r /etc/default/cgmanager ] && . /etc/default/cgmanager
exec /sbin/cgmanager --sigstop $cgmanager_opts $cgm_extra_mounts
end script
post-start script
initctl notify-cgroup-manager-address "unix:path=/sys/fs/cgroup/cgmanager/sock" || true
end script