1

Upstart service stops when I log out

view story
linux-howto

http://askubuntu.com – I've written an upstart script I want to run when my server starts up, only it does not. It will run when I call sudo start wiki, where wiki is the name of my service, however it stops running when I log out. This is the script: description "run the noplwiki web service" start on runlevel [2345] script logfile="/var/log/wiki.log" source="/home/matt/python/noplwiki/" exec >> ${logfile} 2>&1 . /home/matt/.virtualenvs/noplwiki/bin/activate cd ${source} exec python wiki.py end script this is the log file for when I start it when I'm logged in, request (HowTos)