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:
parent
66dd88d6f6
commit
879c7f04ec
@ -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.
|
The service will start before these services and stop after these services.
|
||||||
.It Ic provide
|
.It Ic provide
|
||||||
We provide this virtual service. For example, named provides dns.
|
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
|
.It Ic config
|
||||||
We should recalculate our dependencies if the listed files have changed.
|
We should recalculate our dependencies if the listed files have changed.
|
||||||
.It Ic keyword
|
.It Ic keyword
|
||||||
|
Loading…
Reference in New Issue
Block a user