I still prefer Bernsteins daemon-tools. I first used them when I had to deploy qmail and now I use them to manage Python webapplications. The default logging option is a bit weird, but the simplicity is a real winner for me. I don't like Upstart, I don't agree that it's "admirably simple to use", it needlessly complex. For what I do, I don't need or want to care about runlevels, I always want respawning and I don't l…
Daemon Showdown: Upstart vs. Runit vs. Systemd vs. Circus vs. God
11–20 of 68 posts
Re: Daemon Showdown: Upstart vs. Runit vs. Systemd vs. Circus vs. God
#12I still prefer Bernsteins daemon-tools. I first used them when I had to deploy qmail and now I use them to manage Python webapplications. The default logging option is a bit weird, but the simplicity is a real winner for me. I don't like Upstart, I don't agree that it's "admirably simple to use", it needlessly complex. For what I do, I don't need or want to care about runlevels, I always want respawning and I don't l…
Daemontools has never let me down. It plays nicely with the OS in that I don't have to muck around with essential system daemons and init scripts, and it corrects all sorts of bad behavior. I run everything with it: python, java (including long-running servers), ruby, perl... Really a fantastic package.
Re: Daemon Showdown: Upstart vs. Runit vs. Systemd vs. Circus vs. God
#13Earlier quoted context omitted.
Daemontools has never let me down. It plays nicely with the OS in that I don't have to muck around with essential system daemons and init scripts, and it corrects all sorts of bad behavior. I run everything with it: python, java (including long-running servers), ruby, perl... Really a fantastic package.
You could easily have written the exact same thing about Upstart, Systemd, or Runit. :-)
Re: Daemon Showdown: Upstart vs. Runit vs. Systemd vs. Circus vs. God
#14Re: Daemon Showdown: Upstart vs. Runit vs. Systemd vs. Circus vs. God
#15I still prefer Bernsteins daemon-tools. I first used them when I had to deploy qmail and now I use them to manage Python webapplications. The default logging option is a bit weird, but the simplicity is a real winner for me. I don't like Upstart, I don't agree that it's "admirably simple to use", it needlessly complex. For what I do, I don't need or want to care about runlevels, I always want respawning and I don't l…
I do take issue with your characterization of Upstart and Systemd as needlessly complex; almost all of that complexity is for their role as init.d replacements, and doesn't need to affect you if you just want to get a few programs running. Their big selling point, for me, is that one of them is usually the default and the config files are quite easy to write if you're not doing anything elaborate.
Re: Daemon Showdown: Upstart vs. Runit vs. Systemd vs. Circus vs. God
#16 echo 'pidof myapp > /dev/null || su appuser -c "myapp --arguments" &' > ~/check_services.sh
echo 'exit 0' >> ~/check_services.sh
chmod 700 ~/check_services.sh
#Add ~/check_services.sh & to /etc/rc.local for startup
#Add */1 * * * /root/check_services.sh to crontabRe: Daemon Showdown: Upstart vs. Runit vs. Systemd vs. Circus vs. God
#17Re: Daemon Showdown: Upstart vs. Runit vs. Systemd vs. Circus vs. God
#18However, the flexibility of monit beyond process monitoring is really great. Anything from filesystem usage, cpu, memory to monitoring tcp ports, file checksums, you name it. I'm yet to find something you can't do with this little toy, and it's rock solid. I even use it to pull graphite stats[1] and report when certain thresholds are reached, like the percentage of 500s compared to other response codes in my nginx logs.
I also personally like its configuration syntax better than most yaml-like DSLs. It feels almost like writing natural text.
[1]http://blog.gingerlime.com/2013/graphite-alerts-with-monit/
Re: Daemon Showdown: Upstart vs. Runit vs. Systemd vs. Circus vs. God
#19Like others have already said, monit also deserves a mention. Whilst it can start the process for you, it probably doesn't really fall under the same category. It's more about making sure things are running, do not consume too much resources etc. However, the flexibility of monit beyond process monitoring is really great. Anything from filesystem usage, cpu, memory to monitoring tcp ports, file checksums, you name it…
Re: Daemon Showdown: Upstart vs. Runit vs. Systemd vs. Circus vs. God
#20It's maddening that we have no clear separation of responsibilities for this stuff. And so we end up with things like Upstart's half-hearted logging, because it's not clear where Upstart's job stops.