Quoting S <[EMAIL PROTECTED]>:

> I have written a cronjob and some accompanying scripts, such that the
> cronjob runs once per minute, and ensures that Freenet is running, and
> if not, runs it, unless I had at some prior point manually run
> =2E/stop-freenet.sh, in which case the script realizes that I had
> intentionally stopped Freenet, and does not fire it up.

I'm not sure if it's right for the job, I only discovered it the other day, but
there's something called "supervise" in the daemontools package.  It can be
found here:

http://cr.yp.to/daemontools.html

It's in Gentoo's Portage, it's in ports, there's an RPM available.  'supervise'
will run a program and restart it if it exits, until you stop it.  I've not
tried it.

-todd

_______________________________________________
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]

Reply via email to