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/calico27
1 files changed, 27 insertions, 0 deletions
diff --git a/rc.d/calico b/rc.d/calico
new file mode 100644
index 0000000..583b65b
--- /dev/null
+++ b/rc.d/calico
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+# PROVIDE: calico
+# REQUIRE: LOGIN
+# KEYWORD: shutdown
+
+. /etc/rc.subr
+
+name='calico'
+rcvar='calico_enable'
+
+load_rc_config "${name}"
+
+: ${calico_enable:="NO"}
+
+command='/usr/sbin/daemon'
+child_command='/usr/local/bin/calico'
+pidfile="/var/run/${name}.pid"
+
+child_flags=$calico_flags
+child_user=$calico_user
+unset calico_flags calico_user
+command_args="\
+	-p ${pidfile} -T ${name} ${child_user:+-u ${child_user}} \
+	-- ${child_command} ${child_flags}"
+
+run_rc_command "$1"
gsubject'>Replace freenode with tilde.chatJune McEnroe 2021-05-08Document the export query parameterJune McEnroe 2021-05-07Create a database with litterbox for testJune McEnroe 2021-05-07Add missing static declarations in html.cJune McEnroe 2021-05-07Reverse order of search resultsJune McEnroe I guess I didn't realize I could do this with no performance penalty. 2021-05-07Try to keep query at end of parametersJune McEnroe 2021-05-07Use LDADD variables, support BINDIRJune McEnroe Also change MANDIR default to ${PREFIX}/man. 2020-12-13Use nick for color if user is "*" 1.1June McEnroe Not accurate but better than all nicks being the same color in imported logs. 2020-08-23Use DESTDIR in install 1.0June McEnroe 2020-08-23Add catsit example to READMEJune McEnroe 2020-08-23Update litterbox version rangeJune McEnroe 2020-08-19Set a database busy timeoutJune McEnroe 2020-07-29Add Linux supportJune McEnroe Static linking on Linux (even with musl-gcc) is just too much of a pain. People more dedicated than I am can figure it out themselves. Or how to properly sandbox this without a chroot. 2020-07-29Remove unused prevEventJune McEnroe 2020-07-23Rewrite configure scriptJune McEnroe 2020-07-21Add OpenBSD instructionsJune McEnroe 2020-07-21Use a .pc file to configureJune McEnroe 2020-07-19Filter networks with only private contexts from recents as wellJune McEnroe 2020-07-18Specify litterbox version in readmeJune McEnroe 2020-07-18Reverse order of X macro parameters for pages and keysJune McEnroe 2020-07-18Remove kcgi 0.11 compatibilityJune McEnroe 2020-07-17Filter networks with only private contextsJune McEnroe 2020-07-17Add export optionJune McEnroe Adding the export query parameter to any page downloads a .html with the default stylesheet embedded, and all navigation, forms and internal links removed, for being able to share some part of a private instance of litterbox. 2020-07-17Add margin to inputsJune McEnroe Seems that only Safari provides any margins on form elements by default. 2020-07-16Don't write null terminator in stylesheet responseJune McEnroe 2020-07-16Remove sudo from make installJune McEnroe