Re: [Ekiga-list] ekiga.net server down again
- From: Jan Willamowius <jan willamowius de>
- To: ekiga-list gnome org
- Subject: Re: [Ekiga-list] ekiga.net server down again
- Date: Thu, 9 Jul 2009 15:52:47 +0200
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 bar com"
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.
--
Jan Willamowius, jan willamowius de, http://www.gnugk.org/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]