From owner-freebsd-hackers@FreeBSD.ORG Sun Jul 7 11:48:13 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 66145650 for ; Sun, 7 Jul 2013 11:48:13 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-vc0-x229.google.com (mail-vc0-x229.google.com [IPv6:2607:f8b0:400c:c03::229]) by mx1.freebsd.org (Postfix) with ESMTP id 2793C1135 for ; Sun, 7 Jul 2013 11:48:13 +0000 (UTC) Received: by mail-vc0-f169.google.com with SMTP id ia10so2615601vcb.14 for ; Sun, 07 Jul 2013 04:48:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=2AsamYxVFGqzK4iOBKYGYjqJ2GJpt05bZwWMrTtLf34=; b=jreMOB2oVxgiU4t9V92f49WK63ycGA94DXlo4e+sMGc2Zl9adwsyblj7ODnLZCuA9h cQdCf7Z//BXrzIwbrngKnr/EZEqAZu7zSopcJZ9V2ppuzNxvJwuIfrkq+Sox8WIrk9kn NQRewZ8mQ7DHN9qzioWn9XbXoHAFG/9mtKz+c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=2AsamYxVFGqzK4iOBKYGYjqJ2GJpt05bZwWMrTtLf34=; b=DWiT1rjHGETpCsbR+591GzYCcDe4wcUSu+1Mlr8XnxLB+McKZzqCgBPsQbbThUlpoA BB+K6/GST6w4EMm1OmVEPy17k2soOmeIOXdJYRUs5maAhIgOlznWwPinvLIJK+mg86xk /5RHA9fiUrz8c2epiGoNZOlUu92zg7gzhGzO/Nae1nxb4CGPovLV4SphCZnQjq23sydQ S9fv8xIElk3axAqPSULSyOvhPw7hEFRJRqliyNlL409rrgi4dddd8e3DirYy4/DAbv4i SdE/rNHTsYeYtGH5kp/qAhPN6HET0zSoHxSEvyKEuMKCRG+4oxCthGq/1lrridVFhC8U aSHg== X-Received: by 10.52.34.196 with SMTP id b4mr9718363vdj.70.1373197692682; Sun, 07 Jul 2013 04:48:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.80.77 with HTTP; Sun, 7 Jul 2013 04:47:42 -0700 (PDT) In-Reply-To: References: From: Eitan Adler Date: Sun, 7 Jul 2013 13:47:42 +0200 Message-ID: Subject: Re: writing a rc.d script To: Aryeh Friedman Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQmNA9w4WGHhTcAlpAxrQmAgHOiDF5b6e/xw6VWpe0TfBx1Kr0QUHGHw27oMYX1khFLtiweK Cc: FreeBSD Mailing List X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jul 2013 11:48:13 -0000 On Sun, Jul 7, 2013 at 1:45 PM, Aryeh Friedman wrote: > I have a program I am making a port for that also requires a > /usr/local/etc/rc.d script is there anywhere I can find documentation > on how write one and/or a template file to follow? http://www.freebsd.org/doc/en_US.ISO8859-1/articles/rc-scripting/ http://www.freebsd.org/doc/en/books/porters-handbook/rc-scripts.html -- Eitan Adler