Rc

From TALinuxWiki

rc is a program used to manage services on TA-Linux.

Description

The program (/sbin/rc) is used to manage services (daemons, servers, etc) on TA-Linux. It reads service configuration files from /etc/rc.d/init.d and can start/stop services by using the configuration information stored in those files.

Options

  • --enable sname

Enable given service by removing blacklist mark from /etc/rc.d/blacklist.d

  • --disable sname

Disables given service by creating a mark file in /etc/rc.d/blacklist.d

  • --running

List all services that was succesfully started.

  • --list

Lists available services. The includes disabled services.

  • --list-verbose

Lists available services with description.

  • --list-binaries

Gives a list of the binaries/scripts use to start the service.

  • --disabled

Lists disabled services. They can be enabled with the --enable service option.

  • --start sname

Starts given service.

  • --stop sname

Stops given service.

  • --restart sname

Restarts given service by first stoping and the starting.

  • --allstop

Stops all services that has been started.

  • --allstart

Starts all enabled service.

  • --help

Show usage.

  • --version

Show version string.