zeromq / zbroker

Elastic pipes
Mozilla Public License 2.0
50 stars 11 forks source link

Problem: zbroker does not daemonize #13

Closed rpedde closed 10 years ago

rpedde commented 10 years ago

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.

hintjens commented 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 .

hintjens commented 10 years ago

OK, done. The code is in czmq/zsys.c:zsys_daemonize(). Will need master of CZMQ.

hintjens commented 10 years ago

Run this using zbroker -b