Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Mar 2016 14:30:56 +0000
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: RC script not working
Message-ID:  <20160322143056.53ce2bf6@gumby.homeunix.com>
In-Reply-To: <56F151AD.7090009@netfence.it>
References:  <56F151AD.7090009@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
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.  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160322143056.53ce2bf6>