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.


Enrico

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

Reply via email to