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"
registered clientsJune McEnroe Turns out I did eventually fix this, because I may want to implement "passive clients" for logging or notification stuff, which wouldn't affect AWAY status either. 2019-11-07Just write the example normallyJune McEnroe 2019-11-07Include path in readlinkat errorJune McEnroe 2019-11-07Call clientConsume before clientRecvJune McEnroe This might reduce the frequency of a client getting its own message back because it was behind in the ring when it sent it. 2019-11-06Use -l:filename in Linux.mkJune McEnroe 2019-11-06Fix compat.h for #defined strlcpyJune McEnroe 2019-11-06Allow unsetting LIBRESSL_PREFIXJune McEnroe 2019-11-06Document calico service configurationJune McEnroe 2019-11-06Document SASL EXTERNAL configuration in more detailJune McEnroe 2019-11-06Document pounce service configurationJune McEnroe 2019-11-06Mention Darwin and GNU/Linux in READMEJune McEnroe 2019-11-06Assume LibreSSL from brew on DarwinJune McEnroe 2019-11-06Remove -DNO_EXPLICIT_BZERO from Darwin.mkJune McEnroe 2019-11-06Don't install rc scripts or dirs on LinuxJune McEnroe