diff options
author | William Hubbs <williamh@gentoo.org> | 2012-03-03 09:16:27 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2012-03-03 09:22:44 -0600 |
commit | 9fa54a8e8036262a7ea599d68e04fcbd8213506e (patch) | |
tree | a353dd396aa67b56bbca102f158e5a5e2e4b1090 /man | |
parent | 7a1e4ef606a814b124fc35136c2821484981e6cb (diff) |
Runscript: allow extra_commands to be run in chroots
The commands defined in the extra_commands variable do not depend on
whether the service is stopped or started, so it is valid to run them in
chroot environments.
Also, add a note to the runscript man page about the commands in
extra_commands being able to run whether or not the service is started.
Reported-by: Robin Johnson <robbat2@gentoo.org>
X-Gentoo-Bug: 406713
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=406713
Diffstat (limited to 'man')
-rw-r--r-- | man/runscript.8 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/man/runscript.8 b/man/runscript.8 index 3b037ce7..64f36b15 100644 --- a/man/runscript.8 +++ b/man/runscript.8 @@ -92,7 +92,8 @@ or stopping them. The following variables affect the service script: .Bl -tag -width "RC_DEFAULTLEVEL" .It Ar extra_commands -Space separated list of extra commands the service defines. +Space separated list of extra commands the service defines. These should +not depend on the service being stopped or started. .It Ar extra_started_commands Space separated list of extra commands the service defines. These only work if the service has already been started. |