writing a rc.d script
Mark Felder
feld at feld.me
Tue Jul 9 11:36:30 UTC 2013
On Sun, 07 Jul 2013 06:45:46 -0500, Aryeh Friedman
<aryeh.friedman at gmail.com> wrote:
> I have a program I am making a port for that also requires a
> /usr/local/etc/rc.d script is there anywhere I can find documentation
> on how write one and/or a template file to follow?
>
Start with another similar port if possible. Make sure you use rclint to
verify its correctness. There is a ton of information inside /etc/rc.subr
and /usr/ports/Mk/* which may help you write your port where the
documentation falls short.
More information about the freebsd-hackers
mailing list