service

service

 service --list service { --test-if-available  --test-if-configured-on }   service   service   service   { start  stop } 

Description

A shell script used to list, start, and stop network services. service is primarily an interface to services managed by xinetd , but it also includes support for Postfix (with a service name of smtp ) and for receipt of faxes ( fax-receive ) on Panther.

Options/Usage


--list

Prints a list of services available for management to standard output.


--test-if-available

Returns 0 if the specified service is available on the system; 1 if not.


--test-if-configured-on

Returns 0 if the specified service is currently configured to run; 1 if not.

Location

/sbin



Mac OS X Panther for Unix Geeks
Mac OS X Panther for Unix Geeks
ISBN: 0596006071
EAN: 2147483647
Year: 2003
Pages: 212

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net