summaryrefslogtreecommitdiff
path: root/dev-libs/libcgroup/files/cgconfig.service
blob: d2948ff825b70dfdac75c2ca2451eb537e9b9ebf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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/sbin/cgconfigparser -l /etc/cgroup/cgconfig.conf -s 1664
ExecStop=/usr/sbin/cgclear -l /etc/cgroup/cgconfig.conf -e

[Install]
WantedBy=sysinit.target