public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/openrc:openrc-0.11.x commit in: etc/
@ 2012-10-30 16:20 William Hubbs
  0 siblings, 0 replies; 2+ messages in thread
From: William Hubbs @ 2012-10-30 16:20 UTC (permalink / raw
  To: gentoo-commits

commit:     2964fc47f1da9b038b5ae4870c5fa9a78c5d2065
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Tue Oct 30 16:12:20 2012 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Oct 30 16:19:53 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=2964fc47

Expand the documentation for service configuration variables

The original documentation for these variables did not give an example
of what to do if the service had a name that had illegal characters in
it, so this commit adds an example. There was no bug report; this was
suggested by Tobias Klausmann.

---
 etc/rc.conf.in |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/etc/rc.conf.in b/etc/rc.conf.in
index 2dad333..e49a410 100644
--- a/etc/rc.conf.in
+++ b/etc/rc.conf.in
@@ -94,6 +94,10 @@
 # These variables are documented here, but should be configured in
 # /etc/conf.d/foo for service foo and NOT enabled here unless you
 # really want them to work on a global basis.
+# If your service has characters in its name which are not legal in
+# shell variable names and you configure the variables for it in this
+# file, those characters should be replaced with underscores in the
+# variable names as shown below.
 
 # Some daemons are started and stopped via start-stop-daemon.
 # We can set some things on a per service basis, like the nicelevel.
@@ -116,6 +120,13 @@
 #rc_foo_need="openvpn"
 #rc_foo_after="clock"
 
+# Below is an example for service foo-bar. Note that the '-' is illegal
+# in a shell variable name, so we convert it to an underscore.
+# example for service foo-bar.
+#rc_foo_bar_config="/etc/foo-bar"
+#rc_foo_bar_need="openvpn"
+#rc_foo_bar_after="clock"
+
 # You can also remove dependencies.
 # This is mainly used for saying which servies do NOT provide net.
 #rc_net_tap0_provide="!net"


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

* [gentoo-commits] proj/openrc:openrc-0.11.x commit in: etc/
@ 2012-12-06 23:58 William Hubbs
  0 siblings, 0 replies; 2+ messages in thread
From: William Hubbs @ 2012-12-06 23:58 UTC (permalink / raw
  To: gentoo-commits

commit:     603a308c6adcb356dae8896a0a7510beab1c3791
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Mon Dec  3 20:59:22 2012 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Dec  6 23:57:00 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=603a308c

Typo Fix

---
 etc/rc.conf.Linux |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/etc/rc.conf.Linux b/etc/rc.conf.Linux
index 909e6a9..5e2929d 100644
--- a/etc/rc.conf.Linux
+++ b/etc/rc.conf.Linux
@@ -21,7 +21,7 @@
 rc_tty_number=12
 
 # If you have cgroups turned on in your kernel, this switch controls
-# whether or not a group for each controler is mounted under
+# whether or not a group for each controller is mounted under
 # /sys/fs/cgroup.
 # Support for process management by cgroups is planned in the future,
 # so if you turn this off, be aware that you may not be able to use that


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

end of thread, other threads:[~2012-12-06 23:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-06 23:58 [gentoo-commits] proj/openrc:openrc-0.11.x commit in: etc/ William Hubbs
  -- strict thread matches above, loose matches on Subject: below --
2012-10-30 16:20 William Hubbs

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