3 ms·
> 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 contai
by 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/