Daemon for edgar

This sounds like what Edgar needs.

quote from the laconica2IRC perl script comments:


 * 1) All that remained to do was to launch the script in a sane way. To control
 * 2) this sort of simple and permanently executed piece of code and keep it from
 * 3) misbehaving, Daemon is a good way. Available in Debian, it proved its worth
 * 4) when the RSS file went missing during the Identi.ca upgrade and the script
 * 5) crashed everytime it tried to access it for lack of exception catching. Had I
 * 6) simply put it in an infinite loop, it would have hogged significant
 * 7) ressources just by running in circles like a headless chicken. Daemon not
 * 8) only restarted it after each crash, but also killed it after a set number of
 * 9) retries in a set duration - thus preventing any interference with the rest of
 * 10) what runs on our server. Here is the Daemon launch command that I have used :
 * 11) #!/bin/bash
 * 12) path=/usr/local/bin/laconica2IRC
 * 13) daemon -a 16 -L 16 -M 3 -D $path -N -n laconica2IRC_JML -r -O $path/laconica2IRC.log -o $path/laconica2IRC.log $path/laconica2IRC.pl
 * 1) daemon -a 16 -L 16 -M 3 -D $path -N -n laconica2IRC_JML -r -O $path/laconica2IRC.log -o $path/laconica2IRC.log $path/laconica2IRC.pl