An experiment with Dr Bernstein's daemontools.
The source site is here
- Build the binaries:
make
this would build all original binaries in ./command, sample server(s) in ./servers and create some directories to run the servers in ./local/real/*
- Set the path:
. setpath.sh
- Start the tools:
./startit
- Add a server to the watch list:
cd local
./makelink.sh 1
./makelink.sh 2
...
- See the current supervised servers:
./prnstatus
- To stop all servers and the tools type:
./stopit