The program works when started by
cron or from the shell. But when started by
upstart, it seems to loop indefinitely.
The scripts and the files they use are in the
/home/user/ directory, and are owned by
user, and all have
The upstart .conf file:
start on runlevel  stop on runlevel [!2345] kill signal SIGHUP # reload signal SIGHUP respawn exec python /home/user/Documents/init.py -b 600