From owner-svn-doc-head@FreeBSD.ORG Fri Feb 13 15:43:43 2015 Return-Path: Delivered-To: svn-doc-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1AB57430; Fri, 13 Feb 2015 15:43:43 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E0D83FB5; Fri, 13 Feb 2015 15:43:42 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1DFhgu9038847; Fri, 13 Feb 2015 15:43:42 GMT (envelope-from brd@FreeBSD.org) Received: (from brd@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1DFhgOl038846; Fri, 13 Feb 2015 15:43:42 GMT (envelope-from brd@FreeBSD.org) Message-Id: <201502131543.t1DFhgOl038846@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: brd set sender to brd@FreeBSD.org using -f From: Brad Davis Date: Fri, 13 Feb 2015 15:43:42 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r46268 - head/en_US.ISO8859-1/books/porters-handbook/special X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2015 15:43:43 -0000 Author: brd Date: Fri Feb 13 15:43:42 2015 New Revision: 46268 URL: https://svnweb.freebsd.org/changeset/doc/46268 Log: Improve the wording around startup scripts to be clearer. Modified: head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml Fri Feb 13 15:26:56 2015 (r46267) +++ head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml Fri Feb 13 15:43:42 2015 (r46268) @@ -4367,15 +4367,18 @@ post-patch: article on practical aspects of rc.d scripting. - One or more rc.d scripts can be - installed: + With a mythical port called + doorman, which needs to start a + doormand daemon. Add the following + to the Makefile: USE_RC_SUBR= doormand - Scripts must be placed in the files + Multiple scripts may be listed and will be installed. + Scripts must be placed in the files subdirectory and a .in suffix must be added to their filename. Standard SUB_LIST - expansions will be used for this file. Use of the + expansions will be ran against this file. Use of the %%PREFIX%% and %%LOCALBASE%% expansions is strongly encouraged as well. More on SUB_LIST in @@ -4387,7 +4390,8 @@ post-patch: by ports) are included in the overall &man.rcorder.8; of the base system. - Example simple rc.d script: + An example simple rc.d script to start + the doormand daemon: #!/bin/sh