On Fri, 2009-07-17 at 16:06 +0200, Enrico Scholz wrote:

> Scott James Remnant <[email protected]> writes:
> 
> >> is there a way to send a specific signal to a process started by a
> >> job?  E.g. something like
> >> 
> >>   initctl kill -USR2 my-job
> >> 
> > Not directly like this, however "initctl status my-job" will tell you
> > the pid.
> 
> Yes; I saw this and use it as a workaround atm.  But:
> 
> a) it requires parsing of human readable text
> 
> b) there is a race between 'initctl status' and the 'kill' where service
>    might vanish and a completely different process is started with the
>    same pid
> 
> Hence, an atomic 'initctl kill' functionality would be nice.
> 
Could you file a wishlist bug for that?

Scott
-- 
Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?

Attachment: signature.asc
Description: This is a digitally signed message part

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

Reply via email to