Copied to clipboard


`systemctl` is a Linux command used to control the state of system services and daemons. It is part of the systemd system management daemon and can be used to start, stop, restart, and query the status of system services.

start service

stop service

restart service

query service status

start service on boot

disable service on boot

check if service is enabled on boot

mask service

unmask service

reload service configuration

reset failed service

reload daemon configuration

other usages


  • List all units: systemctl -a
  • Show process tree: systemctl -t
  • Specify process ID: systemctl -p <process ID>
  • Specify process user: systemctl -u <process user>
  • Show detailed information: systemctl -f
  • Show units: systemctl -H
  • Start service: systemctl start <service name>
  • Stop service: systemctl stop <service name>
  • Restart service: systemctl restart <service name>
  • Query service status: systemctl status <service name>
  • Start service on boot: systemctl enable <service name>
  • Disable service on boot: systemctl disable <service name>
  • Check if service is enabled on boot: systemctl is-enabled <service name>
  • Mask service: systemctl mask <service name>
  • Unmask service: systemctl unmask <service name>
  • Reload service configuration: systemctl reload <service name>
  • Reset failed service: systemctl reset-failed <service name>
  • Reload daemon configuration: systemctl daemon-reload