>_ linuxcommand.dev
Startseite systemctl
Sistema

systemctl

Systemd servicio-gestor para sistema- y servicio-Kontrolle.

Sintaxis
$systemctl [BEFEHL] [EINHEIT]
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
Ejemplos
Ejemplos
$systemctl start nginx
Ejemplos
$systemctl stop nginx
Ejemplos
$systemctl restart nginx
Ejemplos
$systemctl status nginx
Ejemplos
$systemctl enable nginx
Ejemplos
$systemctl disable nginx
Ejemplos
$systemctl list-units
Ejemplos
$systemctl list-units --failed
Advertencias
System: Einige Services können das System instabil machen wenn gestoppt
Tipp: Prüfe Service-Abhängigkeiten vor Änderungen
Atajos de teclado
systemctl start/stop/restart/status SERVICENAME
systemctl enable/disable SERVICENAME
Alternativas
Casos de uso típicos
Service starten
systemctl start nginx
Service automatisch starten
systemctl enable nginx
Service-Status prüfen
systemctl status nginx
Nota Moderner Service-Manager. Siehe auch service für ältere Systeme.
Exportar