summaryrefslogtreecommitdiff
path: root/pcr/libcgroup/cgrules.service
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/libcgroup/cgrules.service')
-rw-r--r--pcr/libcgroup/cgrules.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/pcr/libcgroup/cgrules.service b/pcr/libcgroup/cgrules.service
new file mode 100644
index 000000000..cd0bf34fb
--- /dev/null
+++ b/pcr/libcgroup/cgrules.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Control Group rules 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
+After=cgconfig.service
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/cgrulesengd -n -f -
+
+[Install]
+WantedBy=sysinit.target