2 ms·
The 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
by krylon 3y ago
The 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/