Re: writing a rc.d script
any other script is a template. man rc is your documentation On Sun, 7 Jul 2013, Aryeh Friedman 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? ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org
Re: writing a rc.d script
On Sun, 07 Jul 2013 06:45:46 -0500, Aryeh Friedman aryeh.fried...@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. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org
writing a rc.d script
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? ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org
Re: writing a rc.d script
On Sun, Jul 7, 2013 at 1:45 PM, Aryeh Friedman aryeh.fried...@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? http://www.freebsd.org/doc/en_US.ISO8859-1/articles/rc-scripting/ http://www.freebsd.org/doc/en/books/porters-handbook/rc-scripts.html -- Eitan Adler ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org
Re: writing a rc.d script
On 07/07/13 13:47, Eitan Adler wrote: On Sun, Jul 7, 2013 at 1:45 PM, Aryeh Friedman aryeh.fried...@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? http://www.freebsd.org/doc/en_US.ISO8859-1/articles/rc-scripting/ http://www.freebsd.org/doc/en/books/porters-handbook/rc-scripts.html There is also the port devel/rclint which is quite useful to check rc scripts for correctness. -- Guido Falsi m...@madpilot.net ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org