libcgroup/cgconfig.service
Nikola Forró 871fc3e5db backport several upstream fixes
set Delegate property for cgconfig service to make sure complete cgroup hierarchy is always created by systemd
2018-04-17 14:28:55 +02:00

19 lines
441 B
Desktop File

[Unit]
Description=Control Group configuration service
# The service should be able to start as soon as possible,
# before any 'normal' services:
DefaultDependencies=no
Conflicts=shutdown.target
Before=basic.target shutdown.target
[Service]
Type=oneshot
RemainAfterExit=yes
Delegate=yes
ExecStart=/usr/sbin/cgconfigparser -l /etc/cgconfig.conf -s 1664
ExecStop=/usr/sbin/cgclear -l /etc/cgconfig.conf -e
[Install]
WantedBy=sysinit.target