DragonFly On-Line Manual Pages
RCSTART(1) DragonFly General Commands Manual RCSTART(1)
rcstart -- use rc.d(8) scripts conveniently
rcstart [-vnpslh] [services]
The rcstart script was written to give easier access to init scripts in
the rc.d(8) folders. The parameter given to those scripts is its own name
minus the 'rc' prefix. Different parameters are realized by creating
The following aliases are available:
rcstart rcstatus rcstop rcrestart
Use services that have service_enable="yes" set.
rconestart rconestatus rconestop rconerestart
Use services that do not have service_enable="yes" set.
The following options are available:
Be verbose after this parameter.
Do not be verbose after this parameter.
Display the paths that are scanned for init scripts.
Display all available services.
Following this parameter scripts will not be executed, but their
location will be printed until -n or -v appear.
Displays the available options.
A service is provided by an init script in an rc.d folder. The
name of the service provided by an rc.d script can be identified
through the PROVIDE keyword.
The services parameter is treated as a regular expression by the
To restart all SQL servers simply run:
If the servers have no respective entries in /etc/make.conf, the command
has to look like this:
The script has been tested on FreeBSD 7.2-PRERELEASE.
The rcstart script first appeared in the bsdadminscripts-0.9 collection.
Dominic Fandrey <email@example.com>
DragonFly 5.3 April 23, 2009 DragonFly 5.3
RCRUN(8) DragonFly System Manager's Manual RCRUN(8)
rcrun, rcstart, rcforce, rcfast, rcone, rcstop, rcrestart, rcreload,
rcstatus, rcvar, rcdisable, rcenable, rclist -- rc script control utility
rcrun command script ...
rcstart script ...
rcforce script ...
rcfast script ...
rcone script ...
rcstop script ...
rcrestart script ...
rcreload script ...
rcstatus script ...
rcvar script ...
rcdisable script ...
rcenable script ...
rclist [script ...]
The rcrun utility provides a number of commands for controlling rc(8)
The start, forcestart, faststart, onestart, stop, restart, reload,
status, and rcvar commands are just passed to the scripts. See rc(8) for
more information on these commands.
The remaining commands are:
disable Sets the corresponding _enable variable in rc.conf(5) to ``NO''
and runs the stop command.
enable Sets the corresponding _enable variable in rc.conf(5) to ``YES''
and runs the start command.
list Shows the status of the specified scripts. If no argument is
specified, the status of all scripts is shown.
Rcstart, rcforce, rcfast, rcone, rcstop, rcrestart, rcreload, rcstatus,
rcvar, rcdisable, rcenable and rclist are shortcuts for rcrun's commands.
rc.conf(5), rc(8), rc.subr(8)
The rcrun script first appeared in DragonFly 1.0.
DragonFly 5.3 November 17, 2014 DragonFly 5.3