creating a startup script for a foreign application

Odhiambo Washington odhiambo at gmail.com
Sat Aug 22 09:58:26 UTC 2020


On Sat, 22 Aug 2020 at 11:31, Polytropon <freebsd at edvax.de> wrote:

> Allow me an addition:
>
> You can find information about how to convert or construct
> a rc.d script in The Porter's Handbook:
>
>         6.26. Starting and Stopping Services (rc Scripts)
>
>
> https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/rc-scripts.html
>
> But as you already have a script that works, it would
> probably be easier to just create an "interface" to that
> script. There is a section in the article "Practical rc.d
> scripting in BSD" which might be helpful (and the article
> itself is worth reading):
>
>
> https://www.freebsd.org/doc/en_US.ISO8859-1/articles/rc-scripting/index.html
>
> Especially this section:
>
>         7. Connecting a script to the rc.d framework
>
>
> https://www.freebsd.org/doc/en_US.ISO8859-1/articles/rc-scripting/rcng-hookup.html
>
> I'm quite sure this is the easiest way to integrate the existing and
> working script with the requirements of rc.d.
>

Thank you. Let me take a look at this.

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", grep ^[^#] :-)


More information about the freebsd-questions mailing list