On Jun 10, 2010, at 2:42 AM, "Mark Edwards" <[email protected]> wrote:

> On Jun 10, 2010, at 12:20 AM, "GrayHat" <[email protected]> wrote:
>
>>
>>> Okay, so I have unchecked "Run ASSP as a Daemon", removed the
>>> UID and GID so it is running as root, and I still cannot get ASSP to
>>> restart itself.  I've tried leaving the AutoRestartCmd blank, and
>>> setting it to the following values:
>>>
>>> "/usr/bin/perl" "assp.pl" "/usr/share/assp" &
>>> /etc/init.d/assp start
>>> "/etc/init.d/assp" start
>>>
>>> No dice, it just shuts down and never comes back up.  Under what
>>> conditions should this work?
>>
>> You'll need to remove the "pid" file ASSP creates; if, for whatever
>> reason the file isn't deleted when ASSP shuts down (or in case it
>> crashes) any restart attempt will fail since the code will find the
>> file, assume another instance of ASSP is running and terminate
>
> Well, this wasn't the reason for my particular problems (see my last
> mail in this thread), but this does bring up the point of what steps
> are really necessary to recover from failure.
>
> It seems like assp is designed so that

Sorry, hit send accidentally.  It seems like assp is designed so that  
only a start command makes sense in  AutoRestartCmd, but perhaps  
there's a point to including kill and pid-removal stages as well?

------------------------------------------------------------------------------
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