From nobody Mon Jul 04 10:57:55 2022 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 07F7D8B9156 for ; Mon, 4 Jul 2022 10:57:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Lc2pC6lnTz4sQW; Mon, 4 Jul 2022 10:57:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656932276; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=d97Axy9JEab6FueuNYGo8t6HFaO0v+8F7Ma/Ucg2kps=; b=D41jSLK2eVnxMgjhG4qCy2Gw2G+IiNp4HFouM4tXn4wTEDvqmRGIEPllnkDPjCpF+SZ0gf HKKLo5k70BRYPB3OhYSaXB1t/Lxyk7IJZ1pci3mnokw00yqTrMy3n/qrxcU6Xpx9oD8fr+ O1NxLoOIz67WPVsYDCONxs/94q/a4by0I1rT7qsp3xgj7Aq4BcQT/VUNSJNJs0WCS8B9Tr OugIvlyEfyjLqwjvgUXTTqTuMtaM2y5dcMxc0nJ6+Sbtw62NS6ojogc3mKPCdpkdUVR0PK BCuNdZcPzpgumCw9KdjtW5FbDtNazTKi2wVbBcojtnTak0nYuC+BZgCk2Io1Mw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C28D17B6B; Mon, 4 Jul 2022 10:57:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 264Avtlk079424; Mon, 4 Jul 2022 10:57:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 264AvtLh079423; Mon, 4 Jul 2022 10:57:55 GMT (envelope-from git) Date: Mon, 4 Jul 2022 10:57:55 GMT Message-Id: <202207041057.264AvtLh079423@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: 4f0992c174 - main - rc-scripting: Update the path where scripts live in src tree List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-doc-all@freebsd.org X-BeenThere: dev-commits-doc-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4f0992c1748d3946459fc33c547ba1753713f54d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656932276; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=d97Axy9JEab6FueuNYGo8t6HFaO0v+8F7Ma/Ucg2kps=; b=KZZKfndT+9G2cFHmonYc1g8f+MLg44l4mMwgki8MUlf1TZnkB2AJqjbG4CvsBHBUue+g/7 JZh4pZ09zxTGbM7B3dtZqXrA0O5H/RYS07fUZUXBlMJzPVpb++zwYyZyd3++Yj+u3wlbhP inm3vXEeCvr/0AyA/C7I19TwYSvSxt5ZLNCUCcs3tHZC6uovJt9zCCItZtLbpgrMueN0Sy V/APEttqAw2v+iZZ42QkvV2t7X2YD/76YFCeZYdAAzqRwf3ANk6HrzjnkEEAW4UgxKOGxK PTur8WHFDOpVgSvSxXhGCUwbyyurRIRKczVRvaVE2Jm2gzH2blS6AIz67z7YaA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656932276; a=rsa-sha256; cv=none; b=mcBtMj86nCkKm1F87UxwHeD1PyiPdIBM+ipTMWbxX2Y4lhAWol8GvNuG2PrU00b4Esz9yW Zxe/72D9Tqox9d5JKRGqXmf7VYwr9jcpbpRz2BCGsP16WeaQ+X98eJqFEtLUil6B1shrUQ lwUouX8u4J8J4yceYGXTZTVC8KLeB8N1bGeaBXrwPjiPSksv79XnfrqDeC8RoqY8XB56z5 6JJP9WUeqBNsur/QEyaBqPEYPs++H1kXW8lFEWDTytDteLFq3CGQh83w9Sv2VgRi5TWxFk M9XHoliywUyUFr6UNo/WVk10JuoBV+LlAp8qOITLVvn0JIqLqamgSZbNV60iIw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by 0mp: URL: https://cgit.FreeBSD.org/doc/commit/?id=4f0992c1748d3946459fc33c547ba1753713f54d commit 4f0992c1748d3946459fc33c547ba1753713f54d Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2022-07-04 10:57:24 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2022-07-04 10:57:47 +0000 rc-scripting: Update the path where scripts live in src tree --- documentation/content/en/articles/rc-scripting/_index.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/content/en/articles/rc-scripting/_index.adoc b/documentation/content/en/articles/rc-scripting/_index.adoc index bc939aec04..ae68c31c28 100644 --- a/documentation/content/en/articles/rc-scripting/_index.adoc +++ b/documentation/content/en/articles/rc-scripting/_index.adoc @@ -586,7 +586,7 @@ However, man:rc.subr[8] can be instructed from the command line to ignore those After a script has been written, it needs to be integrated into [.filename]#rc.d#. The crucial step is to install the script in [.filename]#/etc/rc.d# (for the base system) or [.filename]#/usr/local/etc/rc.d# (for ports). Both [.filename]#bsd.prog.mk# and [.filename]#bsd.port.mk# provide convenient hooks for that, and usually you do not have to worry about the proper ownership and mode. -System scripts should be installed from [.filename]#src/etc/rc.d# through the [.filename]#Makefile# found there. +System scripts should be installed from [.filename]#src/libexec/rc/rc.d# through the [.filename]#Makefile# found there. Port scripts can be installed using `USE_RC_SUBR` as described extref:{porters-handbook}[in the Porter's Handbook, rc-scripts]. However, we should consider beforehand the place of our script in the system startup sequence.