zerowidth / camper_van

A Campfire to IRC bridge
MIT License
129 stars 25 forks source link

Ability to daemonize camper_van #30

Closed yorickpeterse closed 11 years ago

yorickpeterse commented 11 years ago

Currently camper_van always runs in the foreground and doesn't create any PID files. This in turn makes it a bit more tricky to run and monitor it (e.g. using Monit) unless you create a wrapper script. It would be nice if camper_van could daemonize itself (e.g. by specifying the -d/--daemon flag) and create a PID file (specified using another option)`.

zerowidth commented 11 years ago

That seems reasonable to me. I'm not really actively maintaining this though, aside from bugfixes &c... if you have suggestions for a library to use for supporting daemonization, I'm all ears.

yorickpeterse commented 11 years ago

Seeing how the change would be fairly trivial (no need for a daemon library) I'll see if I can take a closer look at it tonight.

zerowidth commented 11 years ago

Well, there's the whole fork/fork/detach stuff to be a good citizen when running as a daemon, but go for it! Thanks!

zerowidth commented 11 years ago

closed in #31