On Jun 10, 2010, at 11:51 PM, "GrayHat" <[email protected]> wrote:

>
>> The default debian script has this functionality, that's no issue.
>> What I'm saying is that, by the time  AutoRestartCmd is triggered,
>> the assp process is no longer running.  If a kill step is included it
>> just generates an error that there is nothing to kill, at least on
>> Linux.
>
> Well that may be avoided by checking for running "assp" process(es)
> extracting the PIDs and then killing those (if any) so that in case
> there's
> no running process, the kill will be skipped

But in what case is this useful, if the command is triggered only when  
assp processes have successfully been stopped?  That was really my  
original question -- is there a case where this command might need to  
do more than start assp?

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to