summary refs log tree commit diff
path: root/rc.d/calico
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/calico')
-rw-r--r--rc.d/calico5
1 files changed, 4 insertions, 1 deletions
diff --git a/rc.d/calico b/rc.d/calico
index 6d5b022..32c21d8 100644
--- a/rc.d/calico
+++ b/rc.d/calico
@@ -11,11 +11,14 @@ rcvar='calico_enable'
 
 load_rc_config "${name}"
 
-: ${calico_enable:="NO"}
+: ${calico_enable:='NO'}
+: ${calico_path:="/var/run/${name}"}
+calico_flags="${calico_flags} ${calico_path}"
 
 command='/usr/sbin/daemon'
 procname='/usr/local/bin/calico'
 pidfile="/var/run/${name}.pid"
+required_dirs=$calico_path
 
 child_flags=$calico_flags
 child_user=$calico_user