RCSTART(1)

NAME
rcstart - use rc.d scripts conveniently

SYNOPSIS
rcstart [-vnpslh] [services]

DESCRIPTION
The rcstart script was written to give easier access to init scripts in the rc.d folders. The parameter given to those scripts is its own name minus the 'rc' prefix. Different parameters are realized by symlinking.

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.

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 4.x and FreeBSD 6.1.

SEE ALSO
bsdadminscripts(1)

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

AUTHOR
Dominic Fandrey <lon_kamikaze@gmx.de>