Guest User

upstart sample

a guest
Feb 9th, 2014
250
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. description     "Talisman jabber bot"
  2. author          "BrainFucker"
  3.  
  4. start on (filesystem
  5.           and net-device-up IFACE!=lo
  6.           and runlevel [2])
  7.          
  8. stop on runlevel [!2]
  9.  
  10. respawn
  11. respawn limit 5 10
  12.  
  13. umask 002
  14. nice 19
  15. chdir /media/G/data/Talisman
  16. console log
  17. setuid bot
  18.  
  19. exec /usr/bin/python ./pybot.py
RAW Paste Data