Skip to content

Instantly share code, notes, and snippets.

Last active December 27, 2015 22:19
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save noqqe/7397719 to your computer and use it in GitHub Desktop.
OpenBSD rc.d script for "Isso - Ich schrei sonst"
# $OpenBSD: isso,v 1.0 2013/11/10 14:34:36 noqqe Exp $
daemon_flags="-c $issoconf run 1>>$issolog 2>>$issolog"
. /etc/rc.d/rc.subr
pexp="/usr/local/bin/python2.7 /usr/local/bin/isso"
rc_reload() {
${daemon} -s reload
rc_stop() {
${daemon} -s stop || pkill -f "^${pexp}"
rc_cmd $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment