Excerpts from Despot's message of Wed Jul 13 01:19:28 UTC 2011:
> No important reason (that I know of) for the PATH override; it was a
> copy/paste from another Upstart script, which was an adaptation of a
> System V init script. Per http://netsplit.com/2008/04/16/upstart-05-job-
> environment/, it shouldn't be necessary, so I removed it.
>
> I've made the tweaks Clint recommended, the revised script is attached.
>
>
> ** Attachment added: "Upstart script for aiccu rev3"
> https://bugs.launchpad.net/ubuntu/+source/aiccu/+bug/223825/+attachment/2204754/+files/aiccu.conf
Cool, well done.
Looking a second time there is another problem. You stop on runlevel
[^2345] but don't start again on a transition from runlevel 1 -> 2. This
is a common mistake that is present in a lot of upstart jobs.
start on (local-filesystems and net-device-up IFACE!=lo) or runlevel
[2345]
Excerpts from Despot's message of Wed Jul 13 01:19:28 UTC 2011: netsplit. com/2008/ 04/16/upstart- 05-job- /bugs.launchpad .net/ubuntu/ +source/ aiccu/+ bug/223825/ +attachment/ 2204754/ +files/ aiccu.conf
> No important reason (that I know of) for the PATH override; it was a
> copy/paste from another Upstart script, which was an adaptation of a
> System V init script. Per http://
> environment/, it shouldn't be necessary, so I removed it.
>
> I've made the tweaks Clint recommended, the revised script is attached.
>
>
> ** Attachment added: "Upstart script for aiccu rev3"
> https:/
Cool, well done.
Looking a second time there is another problem. You stop on runlevel
[^2345] but don't start again on a transition from runlevel 1 -> 2. This
is a common mistake that is present in a lot of upstart jobs.
start on (local-filesystems and net-device-up IFACE!=lo) or runlevel
[2345]
Should take care of that.