]> git.pld-linux.org Git - packages/libcgroup.git/blobdiff - cgconfig.service
- 0.38.rc1
[packages/libcgroup.git] / cgconfig.service
diff --git a/cgconfig.service b/cgconfig.service
new file mode 100644 (file)
index 0000000..6650b4a
--- /dev/null
@@ -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=/sbin/cgconfigparser -l /etc/cgconfig.conf -s 664
+ExecStop=/sbin/cgclear -l /etc/cgconfig.conf -e
+
+[Install]
+WantedBy=sysinit.target
This page took 0.073925 seconds and 4 git commands to generate.