summarylogtreecommitdiffstats
path: root/cgconfig.service
blob: 3e6689d776fced111e318a1b02659909d334da68 (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/bin/cgconfigparser -l /etc/cgconfig.conf -s 1664
ExecStop=/usr/bin/cgclear -l /etc/cgconfig.conf -e

[Install]
WantedBy=sysinit.target