mirror of https://github.com/Jackett/Jackett
1
Linux upstart script
Matthew Little edited this page 2015-07-11 14:28:27 -06:00
author "Simon Tallmyr - Nosscire"
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 mcg
setgid mcg
#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
chdir $DIR
exec mono Jackett.exe
end script