4 ms·
There are better init systems than both of those. runit is one of them, daemontools is another. NB. runit is a daemontools clone that isn't written by Bernstei
by kick 7y ago
There are better init systems than both of those.
runit is one of them, daemontools is another. NB. runit is a daemontools clone that isn't written by Bernstein.
- mixmastamyk 7y agoI like many of the bernstein tools, but daemontools is not one of them.
- kick 7y agoWhy not? It's simple, it's efficient, and it gets out of your way.
- mixmastamyk 7y agoBeen five years so hard to remember, but something about restarting daemon was a chore and strange datetime format in logs left a bad taste.
- hvdijk 7y agodaemontools does not support "start service B once service A is up and running", it can only do "start service A before starting service B". For services that take a while after starting before they are ready, such as databases, that can be a problem. Traditional sh init scripts were able to handle this as most such services could fork and exit once they were ready, but fork and exit is incompatible with daemontools. Some daemontools clones have ways to handle this, but IIRC daemontools itself does not.
- filterfish 7y agonosh being one of those.
- cpach 7y agoRunit seems interesting. Feel free to expand regarding it’s benefits compared to systemd! The main selling point seems to to be less complexity. Are there any drawbacks/gotchas one should be aware of?
- ape4 7y agoRunit doesn't use control groups - I suppose so it can work on non-Linux OSes. systemd being Linux-specific does. https://en.wikipedia.org/wiki/Cgroups https://en.wikipedia.org/wiki/Cgroups
- cpach 7y agoGood point.
- kick 7y agoThere really aren't any drawbacks. There are a few distros that use it. If you want to play with it, I'd really highly recommend spinning up a Void VM.
- cpach 7y agoCool! Sounds like a great way to test it.
- edoceo 7y agoOpenRC? It's on my Gentoos
- kick 7y agoI don't personally like OpenRC, but it's acceptable, too!