systemctl
Control systemd units and the init system.
Syntax
$systemctl [OPTIONS] COMMAND [SERVICE]
Optionen
start
Service starten
stop
Service stoppen
restart
Service neu starten
reload
Konfiguration neu laden
status
Status anzeigen
enable
Service beim Boot aktivieren
disable
Service beim Boot deaktivieren
list-units
Alle Units auflisten
list-units --failed
Fehlgeschlagene Units anzeigen
Examples
Examples
$systemctl start nginx
Examples
$systemctl enable nginx
Examples
$systemctl status nginx
See also
Alternatives
Distro comparison
Restart service
systemd and classic init commands for service restarts.
Enable service at boot
Enable services to start automatically.
Typical use cases
systemctl start nginx
systemctl enable nginx
systemctl status nginx
Note
Common actions: start, stop, restart, enable, disable, and status.
Export