Implement "want" dependency
The want dependency is similar to the use dependency. If a service script, for example called service1, adds "want service2" to its depend function, OpenRC will attempt to start service2, if it exists on the system, when service1 is started. However, service1 will start regardless of the status of service2. X-Gentoo-Bug: 406021 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=406021
This commit is contained in:
committed by
William Hubbs
parent
ddb895b355
commit
33d3f33b3c
@@ -175,6 +175,8 @@ will refuse to stop until any services that need it have stopped.
|
||||
.It Ic use
|
||||
The service will attempt to start any services we use that have been added
|
||||
to the runlevel.
|
||||
.It Ic want
|
||||
The service will attempt to start any services we want.
|
||||
.It Ic after
|
||||
The service will start after these services and stop before these services.
|
||||
.It Ic before
|
||||
|
Reference in New Issue
Block a user