On 28/01/12 00:13, Chris Johnson wrote:
> I am new to upstart and currently trying to set it up to launch syslog-ng on 
> boot.  Based on the getting-started guide, I have come up with the following 
> configuration:
>       start on runlevel [2345]
>       stop on runlevel [06]
>       exec /usr/local/sbin/syslog-ng
> 
> Good part is that it appears to launch okay:
>       $ sudo start syslog-ng
>       syslog-ng start/running, process 25178
> 
> Unfortunately when I run the status is shows 'stop/waiting' and when I try to 
> stop, I get 'Unknown instance'
>       $ sudo stop syslog-ng
>       stop: Unknown instance:
> 
> What am I missing? 
> 
> Thanks
> Chris
Hi Chris,

To add to Evan's comments, I'd recommend reading this section of the Cookbook 
carefully:

        http://upstart.ubuntu.com/cookbook/#expect

Regards,

James.
-- 
James Hunt
____________________________________
http://upstart.ubuntu.com/cookbook
http://upstart.ubuntu.com/cookbook/upstart_cookbook.pdf

-- 
upstart-devel mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/upstart-devel

Reply via email to