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
This commit is contained in:
William Hubbs 2013-03-20 15:21:03 -05:00
parent 66dd88d6f6
commit 879c7f04ec

View File

@ -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