diff options
Diffstat (limited to 'pcr/libcgroup/cgconfig.service')
-rw-r--r-- | pcr/libcgroup/cgconfig.service | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pcr/libcgroup/cgconfig.service b/pcr/libcgroup/cgconfig.service new file mode 100644 index 000000000..3e6689d77 --- /dev/null +++ b/pcr/libcgroup/cgconfig.service @@ -0,0 +1,17 @@ +[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 +ExecStart=/usr/bin/cgconfigparser -l /etc/cgconfig.conf -s 1664 +ExecStop=/usr/bin/cgclear -l /etc/cgconfig.conf -e + +[Install] +WantedBy=sysinit.target |