4 ms·
What are the FreeBSD/OpenBSD init systems? Are there competing ones?
by lloydatkinson 3y ago
What are the FreeBSD/OpenBSD init systems? Are there competing ones?
- cempaka 3y agoI like runit, which is actually from Void Linux but can be used on FreeBSD. There's also OpenRC, again not limited to BSDs.
- krylon 3y agoThe BSD systems have their own init system, called rc. I've never written an rc script, but as a user/admin, I find it very nice. There was an effort to create something akin to macOS's launchd for FreeBSD, but I don't know how that worked out.
- Lammy 3y ago> I've never written an rc script Not trying to "RTFM" you but https://man.freebsd.org/cgi/man.cgi?query=rc https://man.freebsd.org/cgi/man.cgi?query=rc contains a nice minimal example script for anyone who's curious.
- krylon 3y agoThank you! I recently wrote my first systemd unit file, and the experience was mostly pain free. I might recreate it as an rc script for good measure.
- Lammy 3y agoFor the more advanced stuff don't miss the link at the bottom that's unfortunately broken in this web manpage reader https://docs.freebsd.org/en/articles/rc-scripting/ https://docs.freebsd.org/en/articles/rc-scripting/
- sillywalk 3y agoHere's a bit on OpenBSD : https://www.bsdfrog.org/pub/events/openbsd-rcd-EuroBSDcon2016.pdf https://www.bsdfrog.org/pub/events/openbsd-rcd-EuroBSDcon201...