4 ms·
As a diehard daemontools user this comment made me take another look at runit. Just to be clear, runit is one of several forks of daemontools. Another one is da
by sigil 14y ago
As a diehard daemontools user this comment made me take another look at runit. Just to be clear, runit is one of several forks of daemontools. Another one is daemontools-encore [1].
There are a couple nice runit features that stock daemontools lacks.
The ability to run each service in a separate process session with "runsvdir -P" is a big one. If your ./run file consists of a pipeline, bouncing the service with TERM will produce orphans otherwise. (I have some patches to daemontools-encore that do this on a per-service basis.)
The svlogd program from runit also looks nicer than multilog. I've tried to like tai64, I really have, but I'd rather just have human AND machine readable timestamps from the get go.
I like that service dependencies aren't statically declared in runit, but rather something you can block on in your ./run file.
[1] http://untroubled.org/daemontools-encore/ http://untroubled.org/daemontools-encore/
- stock_toaster 14y agorunit also has man pages.
- sigil 14y agodaemontools also has manpages, thanks to Garrit Pape, the author of runit ;) http://smarden.org/pape/djb/manpages/ http://smarden.org/pape/djb/manpages/ The manpages are installed by default in every system I use -- debian, ubuntu, MacPorts, and FreeBSD ports.
- stock_toaster 14y agoIndeed. They are not part of the standard daemontools source though, which is why I thought it worth mentioning.