Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hi all I have been trying to figure out my problem for some time and think it is now time to ask someone who know more than me. Hopefully this is only a simple solution for someone in the know

Basically I have 2 upstart scripts that I created but only 1 will run at boot and the other will not although both run fine when called manually

Here is the one that works

# status led daemon

description "Status led daemon; Used for controlling the server status led"
author "None"

start on (started dbus and started mountall)
stop on (xbmc-do-stop or runlevel [!2345])


and here is the one that does not

# irexec daemon

description "irexec daemon"
author "None"

start on (started dbus and started mountall)
stop on (xbmc-do-stop or runlevel [!2345])

exec irexec /home/pi/.lircrc

as you can see they are very similar and I cannot find out why one will work but the other will not

share|improve this question
So the latter is not running at all, or just failing silently? what does dmesg|grep init: tell you? – Tuminoid Jan 28 '13 at 11:37
It is failing to start and dmesg shows nothing. If I start it manually after boot by using sudo service irexec start then it will run fine and respawn when it gets killed. – user126226 Feb 13 '13 at 21:05
You could verify that the upstart job really doesn't have been executed adding a script ... end script block like that: (sorry, I'm not be abble to add a code block here) – ssoto Jun 10 '13 at 18:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.