Closed rpedde closed 10 years ago
Any preference on how to handle stdout/stderr? I've got code working, which sets these to /dev/null so the daemon is totally silent unless it sends stuff to syslog etc.
On Mon, Mar 24, 2014 at 4:28 PM, Ron Pedde notifications@github.com wrote:
zbroker should be able to be run as either a daemon or a foreground application, so as to interface better with the various init styles.
Reply to this email directly or view it on GitHubhttps://github.com/zeromq/zbroker/issues/13 .
OK, done. The code is in czmq/zsys.c:zsys_daemonize(). Will need master of CZMQ.
Run this using zbroker -b
zbroker should be able to be run as either a daemon or a foreground application, so as to interface better with the various init styles.