armon / bloomd

C network daemon for bloom filters
http://armon.github.io/bloomd
Other
1.24k stars 112 forks source link

bloomd as background daemon #2

Closed damaex17 closed 11 years ago

damaex17 commented 11 years ago

I try to get bloomd running in a cluster configuration with the data_dir on a drbd volume synced between two nodes. Everything works fine except the redirect of stdout. nohup with redirect, daemonize or any other approach seems to fail. does bloomd require a terminal?

screen -d -m -L ./bloomd seems to be the only option

armon commented 11 years ago

Bloomd does not actually write to stdout. All of it's logs go to syslog. However, if it does detect a TTY, then the syslog LOG_PERROR flag is enabled, so that the logs are duplicated into stderr. If you run it with any of those flags, it should work fine and logs will appear in syslog.

Let me know if that helps!

damaex17 commented 11 years ago

perfect, thanks.