>_ linuxcommand.dev
Startseite systemctl
System Administration

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
Alternatives
Typical use cases
Start service
systemctl start nginx
Enable at boot
systemctl enable nginx
Check status
systemctl status nginx
Note Common actions: start, stop, restart, enable, disable, and status.
Export