Skip to content

Instantly share code, notes, and snippets.

@philroche
Forked from josvazg/josvaz-znc.conf
Created July 19, 2016 15:40
Show Gist options
  • Save philroche/5f361f4b5e47264716006c349ed94cf5 to your computer and use it in GitHub Desktop.
Save philroche/5f361f4b5e47264716006c349ed94cf5 to your computer and use it in GitHub Desktop.
#josvaz-znc.conf Upstart script for (AWS) Ubuntu 14.04
#znc - irc bouncer
description "IRC bouncer."
start on runlevel [2345]
stop on runlevel [!2345]
respawn
setuid ubuntu
# Use -f to avoid znc to demonize itself and confuse upstart into thinking it died
exec /usr/bin/znc -f --datadir=/data/znc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment