From f67269202ef1bdb0e7b91aaa1d2799a9bc35ac73 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" <june@causal.agency> Date: Sat, 15 Aug 2020 17:40:08 -0400 Subject: Add FreeBSD rc script I'm expecting to also have an OpenBSD rc script. --- FreeBSD/catsitd.in | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 FreeBSD/catsitd.in (limited to 'FreeBSD') diff --git a/FreeBSD/catsitd.in b/FreeBSD/catsitd.in new file mode 100644 index 0000000..7dfa8a8 --- /dev/null +++ b/FreeBSD/catsitd.in @@ -0,0 +1,21 @@ +#!/bin/sh + +# PROVIDE: catsitd +# REQUIRE: LOGIN +# KEYWORD: shutdown + +. /etc/rc.subr + +name="catsitd" +rcvar="${name}_enable" +extra_commands="reload" + +load_rc_config $name + +: ${catsitd_enable:="NO"} + +command="%%PREFIX%%/sbin/${name}" +pidfile="/var/run/${name}.pid" +command_args="-p ${pidfile}" + +run_rc_command "$1" -- cgit 1.4.1 <tr><td class='sub'>dontfiles </td><td class='sub right'></td></tr></table> <table class='tabs'><tr><td> <a href='/src/'>summary</a> <a href='/src/refs/?id=dc1bb39579d2bdfedc7f5a99315b9f0dc95d15f0'>refs</a> <a class='active' href='/src/log/home/.local/bin/versions?follow=1'>log</a> <a href='/src/tree/home/.local/bin/versions?id=dc1bb39579d2bdfedc7f5a99315b9f0dc95d15f0'>tree</a> <a href='/src/commit/home/.local/bin/versions?id=dc1bb39579d2bdfedc7f5a99315b9f0dc95d15f0&follow=1'>commit</a> <a href='/src/diff/home/.local/bin/versions?id=dc1bb39579d2bdfedc7f5a99315b9f0dc95d15f0&follow=1'>diff</a></td><td class='form'><form class='right' method='get' action='/src/log/home/.local/bin/versions'> <input type='hidden' name='id' value='dc1bb39579d2bdfedc7f5a99315b9f0dc95d15f0'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/src/log/?id=dc1bb39579d2bdfedc7f5a99315b9f0dc95d15f0&follow=1'>root</a>/<a href='/src/log/home?id=dc1bb39579d2bdfedc7f5a99315b9f0dc95d15f0&follow=1'>home</a>/<a href='/src/log/home/.local?id=dc1bb39579d2bdfedc7f5a99315b9f0dc95d15f0&follow=1'>.local</a>/<a href='/src/log/home/.local/bin?id=dc1bb39579d2bdfedc7f5a99315b9f0dc95d15f0&follow=1'>bin</a>/<a href='/src/log/home/.local/bin/versions?id=dc1bb39579d2bdfedc7f5a99315b9f0dc95d15f0&follow=1'>versions</a> (<a href='/src/log/home/.local/bin/versions?id=dc1bb39579d2bdfedc7f5a99315b9f0dc95d15f0'>unfollow</a>)</div><div class='content'><table class='list nowrap'><tr class='nohover'><th></th><th class='left'>Commit message (<a href='/src/log/home/.local/bin/versions?id=dc1bb39579d2bdfedc7f5a99315b9f0dc95d15f0&showmsg=1&follow=1'>Expand</a>)</th><th class='left'>Author</th></tr> <tr><td><span title='2020-12-29 22:39:16 -0500'>2020-12-29</span></td><td><a href='/src/commit/bin/hilex/make.l?id=7c70322c7c8e88af93375b89146b0cd6cb8cc7f0&follow=1'>Add make lexer</a></td><td>June McEnroe</td></tr> <tr><td><span title='2020-12-29 18:37:17 -0500'>2020-12-29</span></td><td><a href='/src/commit/bin/hilex/c.l?id=2901b90df2243e7844106cff525967b1d3305a8b&follow=1'>Clean up C lexer</a></td><td>June McEnroe</td></tr> <tr><td><span title='2020-12-29 17:44:48 -0500'>2020-12-29</span></td><td><a href='/src/commit/bin/hilex/mdoc.l?id=693d2d48b0c5dc584d01c6878bfc293823613f2a&follow=1'>Clean up hilex code somewhat</a></td><td>June McEnroe</td></tr> <tr><td><span title='2020-12-29 17:19:23 -0500'>2020-12-29</span></td><td><a href='/src/commit/bin/hilex/c.l?id=4d08648d0b9d1589b3205a5fe86d774ebcbac75b&follow=1'>Match lex/yacc %% %{ %} lines as Macro</a></td><td>June McEnroe</td></tr> <tr><td><span title='2020-12-29 17:13:26 -0500'>2020-12-29</span></td><td><a href='/src/commit/bin/hilex/c.l?id=321b5f4bc23174d4abacc951cdee45d4f6f5c97d&follow=1'>Match top-level C definitions as IdentifierTag</a></td><td>June McEnroe</td></tr> <tr><td><span title='2020-12-29 17:13:14 -0500'>2020-12-29</span></td><td><a href='/src/commit/bin/hilex/c.l?id=034c35a61d97bf7817707e044b2f159a7f517c27&follow=1'>Match C type declarations as IdentifierTag</a></td><td>June McEnroe</td></tr> <tr><td><span title='2020-12-29 15:05:39 -0500'>2020-12-29</span></td><td><a href='/src/commit/bin/hilex/c.l?id=43fad502979651e9a11cd90f8508564c42ceab28&follow=1'>Match function-like macro definitions as IdentifierTag</a></td><td>June McEnroe</td></tr> <tr><td><span title='2020-12-29 15:00:43 -0500'>2020-12-29</span></td><td><a href='/src/commit/bin/hilex/c.l?id=e0ed33a34ad42e2d4be740389bf051a726a58bea&follow=1'>Reconfigure C macro start conditions</a></td><td>June McEnroe</td></tr> <tr><td><span title='2020-12-29 14:05:03 -0500'>2020-12-29</span></td><td><a href='/src/commit/bin/hilex/hilex.1?id=42581fdb8dd98f8d8c4d5c953c43546ed63c365e&follow=1'>Document HTML class names</a></td><td>June McEnroe</td></tr> <tr><td><span title='2020-12-29 13:59:05 -0500'>2020-12-29</span></td><td><a href='/src/commit/bin/hilex/mdoc.l?id=97d3d661c8972045f7f8a32cb094d9146b4b76f2&follow=1'>Rename Tag class to IdentifierTag</a></td><td>June McEnroe</td></tr> <tr><td><span title='2020-12-29 13:54:59 -0500'>2020-12-29</span></td><td><a href='/src/commit/bin/hilex/html.c?id=ca2917331485510fc40ffac325cd33e0ee9a478e&follow=1'>Change HTML class from hi to hilex</a></td><td>June McEnroe</td></tr> <tr><td><span title='2020-12-29 00:55:47 -0500'>2020-12-29</span></td><td><a href='/src/commit/bin/hilex/html.c?id=1e284c0b01081e731be45d1b29b49d4540ae3c2c&follow=1'>Add hilex HTML output</a></td><td>June McEnroe