Skip to content

Instantly share code, notes, and snippets.

@sea3pea0
Created June 21, 2015 19:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sea3pea0/da7e2baefc1c55655319 to your computer and use it in GitHub Desktop.
Save sea3pea0/da7e2baefc1c55655319 to your computer and use it in GitHub Desktop.
author "Simon Tallmyr - Nosscire"
description "Upstart Script to run Jackett as a service"
#Set username for the process. Should probably be what you use for logging in
setuid root
setgid root
#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
start on runlevel [2345]
stop on runlevel [016]
respawn
script
exec /usr/local/mono/bin/mono $DIR/Jackett.exe
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment