summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-03-26 08:08:47 +0000
committerRoy Marples <roy@marples.name>2008-03-26 08:08:47 +0000
commitbe1f9b0a93ac3af0899fc7cf70ed7604dbc598a4 (patch)
tree23e21c017de1bcbe203306d7b26e9282f52bc5e3 /man
parente30ea10e6cb3d3eca370fdb22d479834ec3f86a4 (diff)
downloadopenrc-be1f9b0a93ac3af0899fc7cf70ed7604dbc598a4.tar.gz
openrc-be1f9b0a93ac3af0899fc7cf70ed7604dbc598a4.tar.bz2
openrc-be1f9b0a93ac3af0899fc7cf70ed7604dbc598a4.tar.xz
Add --exists and --resolve to rc-service.
Diffstat (limited to 'man')
-rw-r--r--man/rc-service.816
1 files changed, 15 insertions, 1 deletions
diff --git a/man/rc-service.8 b/man/rc-service.8
index 0668eaf..4b9c781 100644
--- a/man/rc-service.8
+++ b/man/rc-service.8
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd Mar 21, 2008
+.Dd Mar 26, 2008
.Dt RC-SERVICE 8 SMM
.Os OpenRC
.Sh NAME
@@ -34,6 +34,12 @@
.Op Ar ...
.Nm
.Fl l , -list
+.Nm
+.Fl e , -exists
+.Ar service
+.Nm
+.Fl r , -resolve
+.Ar service
.Sh DESCRIPTION
Service scripts could be in different places on different systems.
.Nm
@@ -44,7 +50,15 @@ If given the
argument then
.Nm
will list all available services.
+.Pp
+.Fl -e , exists
+return 0 if it can find
+.Ar service ,
+otherwise -1.
+.Fl -r , resolve
+does the same and also prints the full path of the service to stdout.
.Sh SEE ALSO
.Xr rc 8 ,
+.Xr stdout 3
.Sh AUTHORS
.An "Roy Marples" Aq roy@marples.name