From owner-freebsd-questions@freebsd.org Tue Nov 7 13:43:48 2017 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 3292DE590BE for ; Tue, 7 Nov 2017 13:43:48 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x233.google.com (mail-io0-x233.google.com [IPv6:2607:f8b0:4001:c06::233]) (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 E9E5866A79 for ; Tue, 7 Nov 2017 13:43:47 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x233.google.com with SMTP id 134so2153806ioo.0 for ; Tue, 07 Nov 2017 05:43:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=hm2RNhYR+8kJ0Up5EkMuHED5cAtz+0pdWR5p7AAwMZ4=; b=elNlkPQgHPAe8jPYg6N+DKFjZTRq7CsObPQEIx0PfXgcEOphxB3GOS521pGEdnSphq V+CeIMNklvwsw/LudRPmKHPFZNLiHLQzIzRYXluSXUQZEgWlpt6TmRuFortx7lCXg1SH jAV4dziAvX0jvh9OKqyF6qGKL5JYh+zTHf53Z6RJeIYcJx3+u+ipw00098qja30ArWwN Z35UFH/QIhX1dqemd2ISw7impiCVzGtVggAYBWyDCJtac4/coJODTNF3hzFufBe13NhR 3AVgUquu9W7BVAc0lj7BHIKPbVmWfY60CS2mb3e5pielWeeTMhy6mZ+Lotaf6Zny9yAv 9eAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=hm2RNhYR+8kJ0Up5EkMuHED5cAtz+0pdWR5p7AAwMZ4=; b=O8dDnC6M7fQ6D9lOMnSqk452Jg3WOwzv3V2ojZQYZFmYnW3YZrzT/dASt7SS9cSl1j Xraybk9NMlnurbHOiDxojcUGGNCe2l/KoFYtwP2C5Io8tSg8pJyNy6T3YJk/wrIU0jcI pQAYparIZarINis0ZLkV7ZvL2e/fCGT4lCmhLOdc3yU6IcqKXrBJMR+vRHugtizg/820 /UrXNu5pKev2IImYWM4OXYIx7kuvieTS1ThkBO0p1klSPZoXiFZqxhBWlX7XVVsgL1rg pWqqjQ79R5gQjIfVES9oQ5dIRUXOqeQ+ZN8bJgTgnqlTtgQ766Js9PX5KIEVk1foNmpz Qk0A== X-Gm-Message-State: AJaThX4O1QsY0otoYSWIjuoSJjpZ4fb0+uqa/AskPIU6vB26QeL3so64 Sj/3Ut4pXzCZLyNlZR5Kfl4= X-Google-Smtp-Source: ABhQp+R2oPPbHUb/c6Jour+W55wn50Ca/5dsxwplB/JZx85HSJTPtE/eMFIhM4mfNP9tMgq9xesKbw== X-Received: by 10.107.180.3 with SMTP id d3mr23405773iof.46.1510062227374; Tue, 07 Nov 2017 05:43:47 -0800 (PST) Received: from [10.0.10.7] (cpe-65-25-50-122.neo.res.rr.com. [65.25.50.122]) by smtp.googlemail.com with ESMTPSA id g26sm625766iob.34.2017.11.07.05.43.46 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 07 Nov 2017 05:43:47 -0800 (PST) Message-ID: <5A01B893.7000608@gmail.com> Date: Tue, 07 Nov 2017 08:43:47 -0500 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: krad CC: Christian Kujau , "freebsd-questions@freebsd.org" Subject: Re: Need help with rc.d script References: <5A00F101.8040708@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Nov 2017 13:43:48 -0000 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.