RC script not working

RW rwmaillists at googlemail.com
Tue Mar 22 14:31:01 UTC 2016

On Tue, 22 Mar 2016 15:07:41 +0100
Andrea Venturoli wrote:

> Hello.
> I've installed WeeWX in a jail and found the following startup script 
> somewhere:
> It works if I issue "service weewx [start|stop|restart]", but it
> won't start the program on boot (or on jail restart).
> Why?

It's a legacy type of script rather than  an rcng script. If you put it
in /usr/local/etc/rc.d/ and give a name with a .sh extension, it should
get started.  

More information about the freebsd-questions mailing list