initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

25
onioncat/ocat.initd Normal file
View File

@@ -0,0 +1,25 @@
#!/sbin/openrc-run
depend() {
need net tor
}
start() {
ebegin "Starting Ocat daemon..."
start-stop-daemon \
--start \
--pidfile "${PIDFILE}" \
--quiet \
--exec /usr/bin/ocat -- -P "${PIDFILE}" ${OCAT_OPTS} >/dev/null 2>&1
eend $?
}
stop() {
ebegin "Stopping Ocat daemon..."
start-stop-daemon \
--stop \
--quiet \
--pidfile "${PIDFILE}"
eend $?
}