znc/znc — pull request #256 by wired (2012-11-20 23:54:17+00:00)
Title: Daemon mode implementation

This patch adds a daemon mode to znc.
When enabled (-z), if running as root znc will drop privileges to the
user specified by the -u parameter (znc by default).

WriteNewConfig has also been modified to skip the "Launch ZNC now" step
when daemon mode is enabled.

Per my initial talk with psychon, the new parameters are not documented
in -h for now.

new parameters:
daemon mode: -z
daemon user: -u