linux/systemctl

Systemd Control

Control systemd services

system
services
systemd

Command

systemctl

Explanation

systemctl is used to control systemd services and examine the state of the systemd system.

Examples

Check service status

systemctl status nginx

Start service

systemctl start nginx

Enable service at boot

systemctl enable nginx

List all services

systemctl list-units --type=service