Add "Daemon" module.
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 9 Dec 2015 13:43:36 +0000 (14:43 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Wed, 9 Dec 2015 13:43:36 +0000 (14:43 +0100)
commite2a9c45020334210348427e4073035c8bd747cd6
tree73d87f6fd97a636c84c9d26096fbe1b81b7db65f
parentaab61123f038b5f411a0f6cd05202a335e9d1221
Add "Daemon" module.

This module contains various functions which can be used to Daemonize (forking guardian into background), writing PID (process-id) files and to determine if an instance of guardian is already running.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
modules/Daemon.pm [new file with mode: 0644]