[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] Auto Restart when IC server is down
You might want to do it at a service level?
Either
while true; do /path/to/interchange; done
or use the tools at
http://cr.yp.to/daemontools.html
The link file is compiled (written C i think) so you would need to fix it
at the source level and recompile. Prob better to just make a crontab
entry and check every 5 minutes to see if ic is running.
man crontab
man 5 crontab
.cfg
On Sun, 3 Jun 2001, Tim Watts wrote:
> I'd like to modify the code (ic 4.7.6) in the cgi link file so that if the
> ic server is down it will restart automatically rather than just presenting
> a message. It goes down at least once a week when my provider does backup or
> something. I tried opening it in my text editor but was just scrambled. Any
> way to easily modify this without a C compiler on my local machine (Mac OS
> 8.6) Can it be done through telnet with unix commands? If so please advise,
> thanks. (I'm OK on basic stuff but not a unix wizard)
>
> Tim Watts
> www.Romans1013.net
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>