In order to be properly managed by the
<filename>rc.d
</filename> framework, its scripts need to be written in the
<citerefentry><refentrytitle>sh
</refentrytitle><manvolnum>1
</manvolnum></citerefentry> language. If you have a service or port that uses a binary control utility or a startup routine written in another language, install that element in
<filename>/usr/sbin
</filename> (for the system) or
<filename>/usr/local/sbin
</filename> (for ports) and call it from a
<citerefentry><refentrytitle>sh
</refentrytitle><manvolnum>1
</manvolnum></citerefentry> script in the appropriate
<filename>rc.d
</filename> directory.