I wrote a little script for upstart and included a log function in the executable file, but there is no log output. When starting the program manually, it works fine.
Here is the .conf
file located in /etc/init/
:
description "upstart file for the program"
start on startup
stop on shutdown
respawn
exec /usr/local/bin/program
I am using Ubuntu 14.04 LTS with upstart 1.12.1.