about summary refs log tree commit diff
path: root/rc.d/calico
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-05-18 15:09:53 -0400
committerJune McEnroe <june@causal.agency>2020-05-18 15:09:53 -0400
commit9fec39ad5150620414a9fed92617703e1002f906 (patch)
tree9ff790ff6252da54351f836b1271527f03059882 /rc.d/calico
parentUpdate email addresses (diff)
downloadpounce-9fec39ad5150620414a9fed92617703e1002f906.tar.gz
pounce-9fec39ad5150620414a9fed92617703e1002f906.zip
Template rc scripts with %%PREFIX%%
The way that the ports tree does it.
Diffstat (limited to 'rc.d/calico')
-rw-r--r--rc.d/calico30
1 files changed, 0 insertions, 30 deletions
diff --git a/rc.d/calico b/rc.d/calico
deleted file mode 100644
index 32c21d8..0000000
--- a/rc.d/calico
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: calico
-# REQUIRE: LOGIN
-# KEYWORD: shutdown
-
-. /etc/rc.subr
-
-name='calico'
-rcvar='calico_enable'
-
-load_rc_config "${name}"
-
-: ${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
-unset calico_flags calico_user
-command_args="\
-	-p ${pidfile} -T ${name} ${child_user:+-u ${child_user}} \
-	-- ${procname} ${child_flags}"
-
-run_rc_command "$1"