aboutsummaryrefslogtreecommitdiffstats
path: root/community/cgmanager/cgproxy.initd
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2021-01-08 13:40:27 +0100
committerJakub Jirutka <jakub@jirutka.cz>2021-01-08 13:43:29 +0100
commitb4e22368340c3a3abcdc16b3a01b83cf975e41b0 (patch)
tree0704e3c2c946d907cb5acc716e5c5716d89e224b /community/cgmanager/cgproxy.initd
parentfdeaf47b6f8d7cbf234b835888e59833f2642221 (diff)
community/cgmanager: fix init scripts
I forgot to set pidfile and command_background in 6a2bad5482940fce8f7f91241c38f2682938919e.
Diffstat (limited to 'community/cgmanager/cgproxy.initd')
-rw-r--r--community/cgmanager/cgproxy.initd5
1 files changed, 4 insertions, 1 deletions
diff --git a/community/cgmanager/cgproxy.initd b/community/cgmanager/cgproxy.initd
index ac872f059e0..874e20a27d4 100644
--- a/community/cgmanager/cgproxy.initd
+++ b/community/cgmanager/cgproxy.initd
@@ -3,10 +3,13 @@
name="cmanager system-bus proxy"
description="D-Bus proxy for cgmanager"
+: ${retry:-"TERM/45"}
+
command=/usr/sbin/cgproxy
# $OPTIONS is here for backward compatibility only
command_args="${command_args:-$OPTIONS}"
-retry=TERM/45
+command_background=yes
+pidfile="/run/$RC_SVCNAME.pid"
depend() {
need cgmanager dbus