summary refs log tree commit diff
path: root/rc.d
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-11-02 18:20:35 -0400
committerJune McEnroe <june@causal.agency>2019-11-02 18:20:35 -0400
commitb6c66c1c8ea3cf4f60619616ec33f5604d0e4707 (patch)
tree42c852d2c0c0e887f1fd4baddb00f3ce6bab8981 /rc.d
parentSend an unrecognized_name alert when failing to dispatch (diff)
downloadpounce-b6c66c1c8ea3cf4f60619616ec33f5604d0e4707.tar.gz
pounce-b6c66c1c8ea3cf4f60619616ec33f5604d0e4707.zip
Set procname in calico rc script
Diffstat (limited to '')
-rw-r--r--rc.d/calico4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/calico b/rc.d/calico
index 583b65b..6d5b022 100644
--- a/rc.d/calico
+++ b/rc.d/calico
@@ -14,7 +14,7 @@ load_rc_config "${name}"
 : ${calico_enable:="NO"}
 
 command='/usr/sbin/daemon'
-child_command='/usr/local/bin/calico'
+procname='/usr/local/bin/calico'
 pidfile="/var/run/${name}.pid"
 
 child_flags=$calico_flags
@@ -22,6 +22,6 @@ child_user=$calico_user
 unset calico_flags calico_user
 command_args="\
 	-p ${pidfile} -T ${name} ${child_user:+-u ${child_user}} \
-	-- ${child_command} ${child_flags}"
+	-- ${procname} ${child_flags}"
 
 run_rc_command "$1"