Last active
December 22, 2015 22:39
-
-
Save e0da/6541608 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cat /etc/supervisor/conf.d/znc.conf | |
[program:znc] | |
command = /usr/bin/znc | |
user = force | |
directory = /home/force | |
redirect_stderr = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cat /etc/init/znc.conf | |
description "znc IRC Bouncer" | |
start on (net-device-up | |
and local-filesystems | |
and runlevel [2345]) | |
stop on runlevel [!2345] | |
respawn | |
respawn limit 10 5 | |
exec /sbin/start-stop-daemon --start --chuid znc --chdir /home/znc --pidfile /var/run/znc.pid --make-pidfile --startas /usr/bin/znc -- --foreground |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment