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


exec /usr/local/bin/program

I am using Ubuntu 14.04 LTS with upstart 1.12.1.

1 Answer 1


Perhaps you should follow the Ubuntu upstart howto

A couple of points that may be of interest to you:

  • the scripts are located in /etc/init.d
  • they need a symbolic link to them in a /etc/rcN.d folder - N = runlevel
  • 1
    My script is actually a upstart job, which should be in /etc/init according to the link and the Upstart cookbook. Commented Dec 26, 2020 at 10:45
  • In that case: "start on startup" - has /usr already been mounted? Where is the log located? Commented Dec 26, 2020 at 12:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .