morgon has asked for the wisdom of the Perl Monks concerning the following question:
assume I want to write a daemon that would consist of some modules and a script.
It would depend on some CPAN-modules, should be started at boot-time and would write a log-file.
It should be distributed to a (small) number of Debian-systems.
What are the current best practices to for implementing and distributing such a perl-service?
I would base such a daemon on something like Daemon::Control that can also create init-scripts, manually create some log-rotate configuration and package everything as a deb-file.
Is this the way to do it?
Or would I nowadays use Docker or whatever else for distribution?
And what would be the easiest way to package everything as a deb?
Many thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: current best practices for Perl-daemons on Linux
by jonass (Initiate) on Oct 27, 2014 at 11:35 UTC | |
|
Re: current best practices for Perl-daemons on Linux
by duelafn (Parson) on Oct 27, 2014 at 10:19 UTC | |
|
Re: current best practices for Perl-daemons on Linux
by afoken (Chancellor) on Oct 29, 2014 at 19:32 UTC |