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 6.5-DEVELOPMENT April 23, 2009 DragonFly 6.5-DEVELOPMENT

Search: Section: