rc.d man page on OpenBSD

Man page or keyword search:  
man Server   11362 pages
apropos Keyword Search (all sections)
Output format
OpenBSD logo
[printable version]

RC.D(8)			OpenBSD System Manager's Manual		       RC.D(8)

NAME
     rc.d - daemon control scripts

SYNOPSIS
     /etc/rc.d/daemond action

DESCRIPTION
     The /etc/rc.d directory contains shell scripts to start, stop, and
     reconfigure daemon programs (``services'').  Currently, it is only used
     for daemons installed from packages(7), and not for the OpenBSD base
     system.

     Those services may be started at boot time in the order specified by the
     rc_scripts variable from rc.conf(8), the order will be reversed during
     shutdown.

     Each such script responds to the following actions:

	   start    Start the service, if not already running.
	   stop	    Stop the service.
	   reload   Tell the daemon to reload its configuration.
	   restart  Perform a stop, then a start.
	   check    Return 0 if the daemon is running or 1 if it is not.

     Each script defines its own defaults, some of which can be overridden by
     site-specific values provided in rc.conf.local(8) (variable names are
     obtained by replacing daemon with the name of the actual script):

	   daemon_flags	 Arguments to call daemon with.
	   daemon_user	 User to run daemon as, using su(1).

     For example, postgres is managed through /etc/rc.d/postgresql.  To run
     the daemon using a site-specific user account, define the following in
     rc.conf.local(8):

	   postgresql_user=mypgsqluser

FILES
     /etc/rc.d/
	     Directory containing daemon control scripts.

     /etc/rc.d/rc.subr
	     Functions and variables used by rc.d scripts.

SEE ALSO
     rc(8), rc.conf(8), rc.subr(8)

HISTORY
     The /etc/rc.d directory first appeared in OpenBSD 4.9.

BUGS
     Changing flag values will change the corresponding pattern used with
     pkill(1), so that stop or reload may not work afterwards.

OpenBSD 4.9		       February 24, 2011		   OpenBSD 4.9
[top]

List of man pages available for OpenBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net