diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-09-16 22:41:11 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-09-16 22:41:11 -0300 |
commit | d83a672bcf2b7ab6fd6a19f1d0951dc71e79229c (patch) | |
tree | 118ea8147788805baa7c9d0b2c474bbc6c38457f /pcr/libcgroup/cgconfig.service | |
parent | 6ebfd7433a2d4f0b32f67f75fe9623e09311bf88 (diff) | |
parent | f56f050bb9bc078f62913e4af434c3baf3407652 (diff) | |
download | abslibre-d83a672bcf2b7ab6fd6a19f1d0951dc71e79229c.tar.gz abslibre-d83a672bcf2b7ab6fd6a19f1d0951dc71e79229c.tar.bz2 abslibre-d83a672bcf2b7ab6fd6a19f1d0951dc71e79229c.zip |
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
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 |