Advertisement
Guest User

NzbDrone Upstart

a guest
Nov 1st, 2013
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.50 KB | None | 0 0
  1. author "Simon Tallmyr - Nosscire"
  2. description "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
  5. setuid yourusername
  6.  
  7. #This is the install directory. If you installed using a deb package or the NzbDrone Repository you do not need to change this
  8. env DIR=/opt/NzbDrone
  9.  
  10. setgid nogroup
  11. start on runlevel [2345]
  12. stop on runlevel [016]
  13.  
  14. respawn
  15.  
  16. exec mono $DIR/NzbDrone.exe
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement