|Up. If the service is not running, start it. If the service stops, restart it.
|Down. If the service is running, send it a TERM signal and then a CONT signal. After it stops, do not restart it.
|Once. If the service is not running, start it. Do not restart it if it stops.
|Pause. Send the service a STOP signal.
|Continue. Send the service a CONT signal.
|Hangup. Send the service a HUP signal.
|Alarm. Send the service an ALRM signal.
|Interrupt. Send the service an INT signal.
|Terminate. Send the service a TERM signal.
|Kill. Send the service a KILL signal.
Included in CentOS 6, Ubuntu
Disable services by using .override instead of .conf on the files in /etc/init
echo manual > /etc/init/apache2.override
Traditional init systems used
# See the current runlevel
# Change runlevel
File links that start with S start the service, K stops the service. Numbers determine order of operation.
Generally only available on RHEL-ish
# List services
# Turn httpd on at levels 2 and 4
chkconfig --level 24 httpd on
|single user mode
|multi user mode
|multi user mode w/ networking
|runlevel 3 plus graphics