Skip to content

This document is a WORK IN PROGRESS.
This is just a quick personal cheat sheet: treat its contents with caution!


SysVinit

SysVinit is a collection of System V-style init programs. It includes init, which is run by the kernel as process 1, and is the parent of all other processes.

Reference(s)

Table of contents

TODO


Services

  • Start the service_name service:

    # service service_name start
    

  • Stop the service_name service:

    # service service_name stop
    

  • Restart the service_name service:

    # service service_name restart
    

  • Reload service_name configuration without stopping the service_name service:

    # service service_name reload
    

  • Check the service_name service status:

    # service service_name status
    

  • Enable the service_name service on system boot:

    # chkconfig service_name on
    

  • Disable the service_name service on system boot:

    # chkconfig service_name off
    

  • Check if the service_name service is enable or disable on system boot:

    # chkconfig service_name
    


Run levels

TODO


If this cheat sheet has been useful to you, then please consider leaving a star here.