start-stop-daemon will gladly manage a pidfile for you. Similarly, logrotate will gladly rotate your logs for you. Both are standard, and IIRC required, parts of a debian system. The only thing using them will require on your part is that you install a $SIG{HUP} handler that reopens your logfile. (Otherwise you will continue writing to the old log file after it's been mv'd away.)
In reply to Re: Perl-based server integration. Looking for example.
by theorbtwo
in thread Perl-based server integration. Looking for example.
by Eyck
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |