Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

systemstarter(8) [opendarwin man page]

SystemStarter(8)					    BSD System Manager's Manual 					  SystemStarter(8)

NAME
SystemStarter -- Start, stop, and restart system services SYNOPSIS
SystemStarter [-gvxdDqn] [action [service]] DESCRIPTION
The SystemStarter utility may be used to start, stop, and restart the system services which are described in the /Library/StartupItems/ and /System/Library/StartupItems/ paths. The optional action argument specifies which action SystemStarter performs on the startup items. The optional service argument specifies which startup items to perform the action on. If no service is specified, all startup items will be acted on; otherwise, only the item pro- viding the service, any items it requires, or any items that depend on it will be acted on. During boot SystemStarter is invoked by rc (see rc(8)) and is responsible for starting all startup items in an order that satisfies each item's requirements. ACTIONS
start start all items, or start the item that provides the specified service and all items providing services it requires. stop stop all items, or stop the item that provides the specified service and all items that depend on it. restart restart all items, or restart the item providing the specified service. OPTIONS
-g graphical startup -v verbose (text mode) startup -x safe mode startup (only run Apple-provided items) -r keep running after last startup item completes, in graphical startup only -d print debugging output -D print debugging output and dependencies -q be quiet (disable debugging output) -n don't actually perform action on items (no-run mode) NOTES
Unless an explicit call to ConsoleMessage is made, SystemStarter examines the exit status of the startup item scripts to determine the suc- cess or failure of the services provided by that script. In Darwin it is preferable to create custom startup items than to modify rc, and at some point SystemStarter may entirely encompass the role of rc. FILES
/Library/StartupItems/ User-installed startup items. /System/Library/StartupItems/ System-provided startup items. SEE ALSO
ConsoleMessage(8) rc(8) http://www.opensource.apple.com/projects/documentation/howto/html/SystemStarter_HOWTO.html HISTORY
The SystemStarter utility appeared in Darwin 1.0 SystemStarter was extended in Darwin 6.0 to support partial startup and interprocess communication. Darwin April 12, 2002 Darwin

Check Out this Related Man Page

SERVICE(8)						    BSD System Manager's Manual 						SERVICE(8)

NAME
service -- control (start/stop/etc.) or list system services SYNOPSIS
service -e service -R service [-v] -l | -r service [-v] <rc.d script> start|stop|etc. DESCRIPTION
The service command is an easy interface to the rc.d system. Its primary purpose is to start and stop services provided by the rc.d scripts. When used for this purpose it will set the same restricted environment that is in use at boot time (see below). It can also be used to list the scripts using various criteria. The options are as follows: -e List services that are enabled. The list of scripts to check is compiled using rcorder(8) the same way that it is done in rc(8), then that list of scripts is checked for an "rcvar" assignment. If present the script is checked to see if it is enabled. -R Restart all enabled local services. -l List all files in /etc/rc.d and the local startup directories. As described in rc.conf(5) this is usually /usr/local/etc/rc.d. All files will be listed whether they are an actual rc.d script or not. -r Generate the rcorder(8) as in -e above, but list all of the files, not just what is enabled. -v Be slightly more verbose ENVIRONMENT
When used to run rc.d scripts the service command sets HOME to / and PATH to /sbin:/bin:/usr/sbin:/usr/bin which is how they are set in /etc/rc at boot time. EXIT STATUS
The service utility exits 0 on success, and >0 if an error occurs. EXAMPLES
The following are examples of typical usage of the service command: service named status service -rv The following programmable completion entry can be use in bash(1) for the names of the rc.d scripts: _service () { local cur cur=${COMP_WORDS[COMP_CWORD]} COMPREPLY=( $( compgen -W '$( service -l )' -- $cur ) ) return 0 } complete -F _service service SEE ALSO
bash(1) (ports/shells/bash), rc.conf(5), rc(8), rcorder(8) HISTORY
The service utility first appeared in FreeBSD 7.3. AUTHORS
This manual page was written by Douglas Barton <dougb@FreeBSD.org>. BSD
December 11, 2012 BSD
Man Page