Returns local lock file that is used when no custom one is specified
Returns local pid file that is used when no custom one is specified
Checks is sig is not actually built-in
Checks is sig is actually built-in
Main template in the module that actually creates daemon process. DaemonInfo is a Daemon instance that holds name of the daemon and hooks for numerous Signals. * Daemon is detached from terminal, therefore it needs a preinitialized logger. * As soon as daemon is ready the function executes main delegate that returns application return code. * Daemon uses pid and lock files. Pid file holds process id for communications with other applications. If pidFilePath isn't set, the default path to pid file is '~/.daemonize/<daemonName>.pid'. Lock file prevents from execution of numerous copies of daemons. If lockFilePath isn't set, the default path to lock file is '~/.daemonize/<daemonName>.lock'. If you want several instances of one daemon, redefine pid and lock files paths. * Sometimes lock and pid files are located at /var/run directory and needs a root access. If userId and groupId parameters are set, daemon tries to create lock and pid files and drops root privileges. *
Handles utilities for signal mapping from local representation to GNU/Linux one
Daemon implementation for GNU/Linux platform. * The main symbols you might be interested in: * sendSignalDynamic and endSignal - is easy way to send signals to created daemons * runDaemon - forks daemon process and places hooks that are described by Daemon template *