Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Nov 2017 08:43:47 -0500
From:      Ernie Luzar <luzar722@gmail.com>
To:        krad <kraduk@gmail.com>
Cc:        Christian Kujau <lists@nerdbynature.de>,  "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Need help with rc.d script
Message-ID:  <5A01B893.7000608@gmail.com>
In-Reply-To: <CALfReyeWAFA-mUcjPjmKoDkVkG=p1S1%2Br7aCZmoucwPjoG2E0A@mail.gmail.com>
References:  <5A00F101.8040708@gmail.com> <alpine.DEB.2.21.9.1711062326320.31397@trent.utfs.org> <CALfReyeWAFA-mUcjPjmKoDkVkG=p1S1%2Br7aCZmoucwPjoG2E0A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
krad wrote:
> By the looks of it the while loop with never exit unless the wget fails, 
> therefore the rc script calling the script will never exit.
> If this is intended have a look at calling the the script via the daemon 
> command as that will handle back grounding it. 
> 

Yes the never ending while loop is intentional. I have reviewed
"man daemon" and that looks like what I need to add the the rc.d script.

Thanks for the pointer in the correct direction.



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