« Return to Thread: ekiga.net server down again

Re: ekiga.net server down again

by Damien Sandras :: Rate this Message:

Reply to Author | View in Thread

I'll do something like that. The program is started by a wrapper though.

Le jeudi 09 juillet 2009 à 15:52 +0200, Jan Willamowius a écrit :

> I'm not sure what kind of process is dying on ekiga.net, but sometimes
> it can be very helpful to use an automatic restarter until the real
> problem is fixed:
>
> #!/bin/sh
>
> START_PROC="/usr/local/bin/dying_process -a -b -c"
> NOTIFY_EMAIL="foo@..."
>
> while :; do
> $START_PROC
> EXITSTATUS=$?
> if [ $EXITSTATUS -gt 128 ]; then
> echo "Process has crashed" | /usr/bin/mail -s "Crash"$NOTIFY_EMAIL
> elif [ $EXITSTATUS == 0 ]; then
> echo "Normally Stoped"
> exit
> fi
> echo "Restarting Process"
> sleep 4
> done
>
>
>
>
> Andre Robatino wrote:
> > The server is down again.  It's been down for at least a few hours.
>
--
 _     Damien Sandras
(o-      
//\    Ekiga Softphone : http://www.ekiga.org/
v_/_   Be IP           : http://www.beip.be/
       FOSDEM          : http://www.fosdem.org/
       SIP Phone       : sip:dsandras@...
                       

_______________________________________________
ekiga-list mailing list
ekiga-list@...
http://mail.gnome.org/mailman/listinfo/ekiga-list

 « Return to Thread: ekiga.net server down again