Eyck has asked for the wisdom of the Perl Monks concerning the following question:
As I am mostly debian-based, debian source package in some 'goodbye-world' fassion would be best.
There exist Net::Server:: family of modules, but they don't account for starting/stoping/monitoring, there's no logrotate integration, and theye're Net::Server-centered, and noone said server has to be net-based, deamons like cron don't use net.
This is basically Best-Practices question, all the pieces I can easily gather/create myself, but what do people recommend ( for example, it's dead simple to log to syslog, and let the system rotate it's logs, but I think i'd prefer to log to /var/log/daemon/something.log. But then I have to think about logfiles growing, rotating them.. I can do it myself, but is it the best solution?. Another example - /etc/init.d/daemon stop/start. How should one mark that the daemon is running? Pidfile? Should I create it myself, or let some tool like start-stop-daemon manage it?)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl-based server integration. Looking for example.
by theorbtwo (Prior) on Apr 02, 2004 at 09:21 UTC | |
by Eyck (Priest) on Apr 05, 2004 at 08:12 UTC | |
|
Re: Perl-based server integration. Looking for example.
by Abigail-II (Bishop) on Apr 02, 2004 at 09:50 UTC | |
by Eyck (Priest) on Apr 02, 2004 at 13:07 UTC | |
by Abigail-II (Bishop) on Apr 02, 2004 at 14:11 UTC | |
by iburrell (Chaplain) on Apr 02, 2004 at 21:25 UTC |