DragonFly On-Line Manual Pages

Search: Section:  


RCSTART(1)	       DragonFly General Commands Manual	    RCSTART(1)

NAME

rcstart -- use rc.d(8) scripts conveniently

SYNOPSIS

rcstart [-vnpslh] [services]

DESCRIPTION

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 links. 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.

OPTIONS

The following options are available: -v --verbose Be verbose after this parameter. -n --not-verbose Do not be verbose after this parameter. -p --paths Display the paths that are scanned for init scripts. -s --services Display all available services. -l --locate Following this parameter scripts will not be executed, but their location will be printed until -n or -v appear. -h --help Displays the available options. services 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 rcstart script.

EXAMPLES

To restart all SQL servers simply run: rcrestart '.*sql' If the servers have no respective entries in /etc/make.conf, the command has to look like this: rconerestart '.*sql'

COMPATIBILITY

The script has been tested on FreeBSD 7.2-PRERELEASE.

SEE ALSO

bsdadminscripts(1)

HISTORY

The rcstart script first appeared in the bsdadminscripts-0.9 collection.

AUTHOR

Dominic Fandrey <kamikaze@bsdforen.de> DragonFly 5.3 April 23, 2009 DragonFly 5.3 RCRUN(8) DragonFly System Manager's Manual RCRUN(8)

NAME

rcrun, rcstart, rcforce, rcfast, rcone, rcstop, rcrestart, rcreload, rcstatus, rcvar, rcdisable, rcenable, rclist -- rc script control utility

SYNOPSIS

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 ...]

DESCRIPTION

The rcrun utility provides a number of commands for controlling rc(8) scripts. 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.

SEE ALSO

rc.conf(5), rc(8), rc.subr(8)

HISTORY

The rcrun script first appeared in DragonFly 1.0.

AUTHORS

Matt Dillon DragonFly 5.3 November 17, 2014 DragonFly 5.3

Search: Section: