← Back to team overview

sslug-teknik team mailing list archive

Re: Ang. holde live i et program

 

Claus Hall skrev:

> Selve programmet er lavet i C++ og kompilet så det kan vi ikke rode med. Men
> når programmet starter kører det som et helt alm program men dør en gang
> imellem.

Jeg vil varmt anbefale daemontools:

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

daemontools is a collection of tools for managing UNIX services. 

supervise monitors a service. It starts the service and restarts the
service if it dies. Setting up a new service is easy: all supervise
needs is a directory with a run script that runs the service.

-- 
torben fjerdingstad        | GNU/linux-2.4.0-test5
tfj@xxxxxxxxxxxxxxx        | This email does not contain any biased lawyers