From owner-freebsd-questions@freebsd.org Tue Mar 22 14:31:00 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F3A31AD9C9E for ; Tue, 22 Mar 2016 14:31:00 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9E3CCAE4 for ; Tue, 22 Mar 2016 14:31:00 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wm0-x22a.google.com with SMTP id p65so166389483wmp.0 for ; Tue, 22 Mar 2016 07:31:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=5nSs5nPEekP2n4+qNA/VDWuTzw920TZxUz7LsEJb+dE=; b=1JRs3k4urqufM0lDvP22PzrYj8+HGUzOo6/WCxuRfyiDoXqZhhMV8Vm5wbJhwQduJd MjkXy7Q3BbU80YgWXjh8zxNJom8DZ67hCrNOoMDmTol8bJIpZEc0b20jaUVBIkOKdoUp 3t5IOASBwL3opDblI1vSLB8zF0ZL0MhWLh1vIs0YUkYwyXbaz0DbUNDd6CI8xKxf+Fvi 5oicfS14whdPxmD0ujd0z/EulbqJFfqYK9jrLK8hDE3cL5Umvu9SdDN7r5X4f1eyRyRj t2TaIXoEYJvQo0lnPDpRpJ+fhCeu6S5Dn2XDzuIZewIdbJ2wzjEgo9+Zk9dVJYKci5Kf CCmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5nSs5nPEekP2n4+qNA/VDWuTzw920TZxUz7LsEJb+dE=; b=eziD91Dpxwl6Id/itFz3gYnM3TKFz1XVKlGfKQtWQFFCuFqA+h95SNAoKrma/AjjzH wnAzOaS39FuR2Ou9ipIUXAMDZpWU1k/FMMUtxyjtWQm8NZDE56/olJ4l20evrWOcz230 m9T7LeGYWVePsUeWv5vot209v3jz6sYVbXUVZcEbVE/KaAoQUKb1wSLEpP+pfsVy3dwO Pmkd0qsgRlOrZYL41S6XORDDah2oUtQnTTTJaSRFNNDyZiHclx998iOgC5/TZewT/qLd NB3C0jLKAeXVAayZ6jtmq9p/5tSUYw2gnmUNN1MygmmvmePNFjeosRds4LReTwrbEB8c yW1A== X-Gm-Message-State: AD7BkJIGbz8XUrixJawxm9EGZtFUwI8H7zmdd9GRkAYTkkE88AC5gZShap2VMsmVYVtzXw== X-Received: by 10.28.101.133 with SMTP id z127mr21090254wmb.84.1458657059203; Tue, 22 Mar 2016 07:30:59 -0700 (PDT) Received: from gumby.homeunix.com ([90.195.211.158]) by smtp.gmail.com with ESMTPSA id m6sm30556708wje.21.2016.03.22.07.30.57 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 22 Mar 2016 07:30:58 -0700 (PDT) Date: Tue, 22 Mar 2016 14:30:56 +0000 From: RW 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> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; amd64-portbld-freebsd10.2) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2016 14:31:01 -0000 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.