>> If ASSP runs as a daemon or a service ASSP cannot restart it.

exact; so, in case ASSP is running as a windows service it would
be a good idea to create a script like (e.g.)

@echo off
pushd c:\assp
if exist pid del pid
net start asspsmtp
popd
exit

and setup the service recovery action to "run a script" using
the above script to restart the ASSP service; this way in case
the service will stop or crash, the script will proceed restarting
it and taking care or removing the "pid" file (if existing)


------------------------------------------------------------------------------
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
Assp-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to