Skip to content

Instantly share code, notes, and snippets.

@sea3pea0
Created September 19, 2015 22:33
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sea3pea0/0e2ebca4a725d98130be to your computer and use it in GitHub Desktop.
Save sea3pea0/0e2ebca4a725d98130be to your computer and use it in GitHub Desktop.
author "sea3pea0"
description "Upstart Script to run NzbDrone as a service on Ubuntu/Debian based systems, as well as others"
#Set username for the process. Should probably be what you use for logging in
setuid {username to run jackett}
setgid users
#This is the install directory. If you installed using a deb package or the NzbDrone Repository you do not need to change this
env DIR=/opt/Jackett
env LD_LIBRARY_PATH=/usr/local/nzbdrone/lib
start on runlevel [2345]
stop on runlevel [016]
respawn
script
chdir $DIR
exec /volume1/@appstore/Mono/usr/bin/mono --debug JackettConsole.exe
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment