summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2013-03-20 15:21:03 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2013-03-20 15:42:09 -0500
commit879c7f04eca9336ae9dcccc23c818a9125792123 (patch)
treeaa5cbfa0919cdb101cbd0b830846beeca80ccbbb
parent66dd88d6f6a28b9b607433248ead8bde57e2b258 (diff)
downloadopenrc-879c7f04eca9336ae9dcccc23c818a9125792123.tar.gz
openrc-879c7f04eca9336ae9dcccc23c818a9125792123.tar.bz2
openrc-879c7f04eca9336ae9dcccc23c818a9125792123.tar.xz
runscript: update documentation for the provide function
Explain that virtual services take precedence over real services and recommend that virtual services have different names from real services. Reported-by: me@2gw.net X-Gentoo-Bug: 461818 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=461818
-rw-r--r--man/runscript.83
1 files changed, 3 insertions, 0 deletions
diff --git a/man/runscript.8 b/man/runscript.8
index 044bef7..7277546 100644
--- a/man/runscript.8
+++ b/man/runscript.8
@@ -153,6 +153,9 @@ The service will start after these services and stop before these services.
The service will start before these services and stop after these services.
.It Ic provide
We provide this virtual service. For example, named provides dns.
+Virtual services take precedence over real services, so it is highly
+recommended that you do not have a real service that has the same name
+as a virtual service.
.It Ic config
We should recalculate our dependencies if the listed files have changed.
.It Ic keyword