1author "sea3pea0" 2description "Upstart Script to run NzbDrone as a service on Ubuntu/Debian based systems, as well as others" 3 4#Set username for the process. Should probably be what you use for logging in 5setuid {username to run jackett} 6setgid users 7 8#This is the install directory. If you installed using a deb package or the NzbDrone Repository you do not need to change this 9 10env DIR=/opt/Jackett 11env LD_LIBRARY_PATH=/usr/local/nzbdrone/lib 12 13start on runlevel [2345] 14stop on runlevel [016] 15 16respawn 17script 18 chdir $DIR 19 exec /volume1/@appstore/Mono/usr/bin/mono --debug JackettConsole.exe 20end script 21