NAME

RCService -- A module to manage UNIX services

SYNOPSIS

This is a straight forward interface to the control scripts in @file{/etc/rc?.d}

DESCRIPTION

This manages the system services, atleast those the live in the /etc/rc?.d folders.

Method

new($service_name,$path) path is optional, and may refer either to the folder containing the relevant control script, or may refer to the control script itself.

start will start the service (if not already started). Example: $Obj->start();

stop will stop the service (if running). Example: $Obj->stop();

restart will restart the service, effectively stopping it (if it is running) and then starting it. Example: $Obj->restart();

status

reload