Add support to daemonize guardian.
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 9 Dec 2015 13:46:17 +0000 (14:46 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Wed, 9 Dec 2015 13:46:17 +0000 (14:46 +0100)
commitccf4f8e1c2fd681c8186e51fc1df93f42ef6e8bb
treef64dca86c858c0146db863d151510cbab028e74c
parente2a9c45020334210348427e4073035c8bd747cd6
Add support to daemonize guardian.

Guardian now will be launched in daemon mode as default. Using the
"--foreground (-f)" command line switch will prevent the process from
forking into the background.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
guardian