public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/devmanual:master commit in: tasks-reference/init-scripts/
@ 2021-04-07 17:35 Ulrich Müller
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Müller @ 2021-04-07 17:35 UTC (permalink / raw
  To: gentoo-commits

commit:     84ec3e63dfe7ab371f5974a0c389e37be39434e8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 21 04:06:27 2021 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Apr  7 17:28:15 2021 +0000
URL:        https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=84ec3e63

tasks-reference/init-scripts: add reference to OpenRC documentation

Signed-off-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 tasks-reference/init-scripts/text.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tasks-reference/init-scripts/text.xml b/tasks-reference/init-scripts/text.xml
index e76670c..17f509c 100644
--- a/tasks-reference/init-scripts/text.xml
+++ b/tasks-reference/init-scripts/text.xml
@@ -16,7 +16,9 @@ should be handled via entries in <c>/etc/conf.d</c> with the same filename <d />
 <p>
 An overview of the Gentoo init system and how to write init scripts is available
 in the <uri link="https://wiki.gentoo.org/wiki/Handbook:X86/Working/Initscripts#Writing_initscripts">
-Writing Init Scripts section</uri>.
+Writing Init Scripts section</uri> and in the
+<uri link="https://github.com/OpenRC/openrc/blob/master/service-script-guide.md">
+OpenRC documentation</uri>.
 </p>
 
 </body>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] proj/devmanual:master commit in: tasks-reference/init-scripts/
@ 2021-06-18  5:10 Sam James
  0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2021-06-18  5:10 UTC (permalink / raw
  To: gentoo-commits

commit:     f8bd9cf56d47b2d4b0f1a2913dc387494f287134
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 10 01:26:34 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 18 05:08:44 2021 +0000
URL:        https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=f8bd9cf5

tasks-reference/init-scripts: mention required POSIX compliance

OpenRC init scripts need to be POSIX compliant and should not therefore
use Bash-specific tests or constructs, unlike ebuilds.

Signed-off-by: Sam James <sam <AT> gentoo.org>
Closes: https://github.com/gentoo/devmanual/pull/219
Signed-off-by: Sam James <sam <AT> gentoo.org>

 tasks-reference/init-scripts/text.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tasks-reference/init-scripts/text.xml b/tasks-reference/init-scripts/text.xml
index 17f509c..3296e38 100644
--- a/tasks-reference/init-scripts/text.xml
+++ b/tasks-reference/init-scripts/text.xml
@@ -13,6 +13,12 @@ should be handled via entries in <c>/etc/conf.d</c> with the same filename <d />
 <c>doconfd</c> or <c>newconfd</c> can be used to install these.
 </p>
 
+<p>
+Please note that unlike ebuilds, init scripts for OpenRC are expected to be
+POSIX-compliant and must therefore avoid e.g. Bash-specific tests and
+constructs.
+</p>
+
 <p>
 An overview of the Gentoo init system and how to write init scripts is available
 in the <uri link="https://wiki.gentoo.org/wiki/Handbook:X86/Working/Initscripts#Writing_initscripts">


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-18  5:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-18  5:10 [gentoo-commits] proj/devmanual:master commit in: tasks-reference/init-scripts/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2021-04-07 17:35 Ulrich Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox