#include <ariaUtil.h>
Public Member Functions | |
ArDaemonizer (int *argc, char **argv) | |
Constructor that sets up for daemonizing if arg checking. | |
bool | daemonize (void) |
Daemonizes if asked too by arguments. | |
bool | forceDaemonize (void) |
Daemonizes always. | |
bool | isDaemonized (void) |
Returns if we're daemonized or not. | |
void | logOptions (void) |
Logs the options. | |
~ArDaemonizer () | |
Destructor. | |
Protected Attributes | |
bool | myIsDaemonized |
ArArgumentParser | myParser |
Definition at line 1049 of file ariaUtil.h.
|
Daemonizes always. This returns true if daemonizing worked, returns false if it didn't... the parent process exits here if forking worked. Definition at line 853 of file ariaUtil.cpp. References ArLog::log(). Referenced by daemonize(). |