]> git.saurik.com Git - apple/launchd.git/blame_incremental - launchd/src/service.8
launchd-106.tar.gz
[apple/launchd.git] / launchd / src / service.8
... / ...
CommitLineData
1.Dd October 15, 2004
2.Dt SERVICE 8
3.Os Darwin
4.Sh NAME
5.Nm service
6.Sh SYNOPSIS
7.Nm
8.Ar service Ar command
9.Nm
10.Fl -list
11.Nm
12.Fl -test-if-configured-on Ar service
13.Nm
14.Fl -test-if-available Ar service
15.Sh DESCRIPTION
16.Nm
17is a simple script to abstract the management of services provided by the system.
18It can be used to start and stop services, as well as to determine the status of services.
19.Sh OPTIONS
20.Bl -tag -width indent
21.It Ar service Ar command
22Attempt to execute a given command for a given service. Currently, the available commands are 'start' and 'stop'.
23.It Fl -list
24List all available services.
25.It Fl -test-if-configured-on Ar service
26Exit with status 0 if the service is currently enabled. Otherwise, exit with status 1.
27.It Fl -test-if-available Ar service
28Exit with status 0 if the service's daemon exists on your system. Otherwise, exit with status 1.
29.El