summary refs log tree commit diff
path: root/rc.d/calico
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-11-03 00:28:20 -0400
committerJune McEnroe <june@causal.agency>2019-11-03 00:28:20 -0400
commit831e2f1049fa64a5b5eed84c80361d45f32d5a81 (patch)
tree9c3a74e7238cb6d18cd72636c8c1819f6294031e /rc.d/calico
parentSet procname in calico rc script (diff)
downloadpounce-831e2f1049fa64a5b5eed84c80361d45f32d5a81.tar.gz
pounce-831e2f1049fa64a5b5eed84c80361d45f32d5a81.zip
Set up /var/run/calico and /usr/local/etc/pounce
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
ef='/pounce/commit/client.c?h=1.4p2&id=dbfe19bb701fdef6e5a7d5d73c0856cac741d82e&follow=1'>Filter ACCOUNT, AWAY, CHGHOST for incapable clientsJune McEnroe 2019-11-10Rename listen to localJune McEnroe 2019-11-09Remove extended-join and invite-notifyJune McEnroe 2019-11-09Maintain stateCaps and offer them to clientsJune McEnroe 2019-11-09Parse capabilitiesJune McEnroe 2019-11-09Avoid the reserved _A names with BIT macroJune McEnroe 2019-11-09Define macro for bit flag enumsJune McEnroe 2019-11-08Check that password is hashedJune McEnroe 2019-11-08Avoid calling getopt_long again after it returns -1June McEnroe 2019-11-08Only change AWAY status for registered clientsJune McEnroe 2019-11-07Just write the example normallyJune McEnroe 2019-11-07Include path in readlinkat errorJune McEnroe 2019-11-07Call clientConsume before clientRecvJune McEnroe 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