summaryrefslogtreecommitdiff
path: root/pcr/libcgroup/cgrules.service
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-09-16 15:47:17 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-09-16 15:47:17 -0300
commit04a644a60c39e019dc410a34a6bfc34d6500d907 (patch)
treefdf26cb08e9d6b62cb9ce4091c33cb6ad051a7ec /pcr/libcgroup/cgrules.service
parent7549e3194e86dfe09d7490e27af49b09ee4f64b6 (diff)
downloadabslibre-04a644a60c39e019dc410a34a6bfc34d6500d907.tar.gz
abslibre-04a644a60c39e019dc410a34a6bfc34d6500d907.tar.bz2
abslibre-04a644a60c39e019dc410a34a6bfc34d6500d907.zip
libcgroup: manage linux cgroups
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