run perl script as a daemon http://stackoverflow.com/questions/766397/how-can-i-run-a-perl-script-as-a-system-daemon-in-linux http://search.cpan.org/~deti/Proc-Daemon-0.14/lib/Proc/Daemon.pod code. #!/usr/bin/perl use strict; use warnings; use Proc::Daemon; Proc::Daemon::Init; my $continue = 1; $SIG{TERM} = sub { $continue = 0 }; while ($continue) { #do stuff } code.. #perl - #programming - #howto