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
td>Add IRCDefault to colors enumJune McEnroe 2018-09-13Return a format->split even at the end of the stringJune McEnroe 2018-09-13Fix weird tab-complete after commaJune McEnroe 2018-09-13Rewrite UI againJune McEnroe 2018-09-12Add note about C-oJune McEnroe 2018-09-12Use formatParse split to position input cursorJune McEnroe 2018-09-12Factor out IRC formatting parsingJune McEnroe 2018-09-11Add /help equivalent to /manJune McEnroe 2018-09-11Don't render every PM as a pingJune McEnroe 2018-09-11Add urlOpenMatchJune McEnroe 2018-09-10Depend on man.sh for chroot.tar targetJune McEnroe 2018-09-10Set LESSSECURE=1 in man.shJune McEnroe 2018-09-10Add /man commandJune McEnroe 2018-09-10Install man page in chrootJune McEnroe 2018-09-10Install man pageJune McEnroe 2018-09-10Split keys into subsections and document colorsJune McEnroe 2018-09-10Add "blank" lines to chatte.1June McEnroe 2018-09-10Document key bindings in chatte.1June McEnroe 2018-09-08Document slash commands in chatte.1June McEnroe