On this page you find all important commands for the CLI tool systemctl. If the
command you are looking for is missing please ask our AI.
systemctl
systemctl may be used to introspect and control the state of the "systemd" system and service manager. Please refer to systemd(1) for an introduction into the basic concepts and functionality this tool manages.
List of commands for systemctl:
-
apache2:reload Reload the Apache webserver (more secure as it will only reload if the config is valid)$ systemctl reload apache2try on your machineexplain this command
-
apache2:restart Restart the Apache webserver$ systemctl restart apache2try on your machineexplain this command
-
nginx:reload Reload the nginx server$ systemctl reload nginxtry on your machineexplain this command
-
nginx:restart Restart the nginx server$ systemctl restart nginxtry on your machineexplain this command
-
systemctl:tldr:118ab systemctl: Check if a unit is enabled.$ systemctl is-enabled ${unit}try on your machineexplain this command
-
systemctl:tldr:269b1 systemctl: Reload systemd, scanning for new or changed units.$ systemctl daemon-reloadtry on your machineexplain this command
-
systemctl:tldr:49d56 systemctl: Show the status of a unit.$ systemctl status ${unit}try on your machineexplain this command
-
systemctl:tldr:55f36 systemctl: Start/Stop/Restart/Reload a service.$ systemctl ${select} ${unit}try on your machineexplain this command
-
systemctl:tldr:9ee11 systemctl: List failed units.$ systemctl --failedtry on your machineexplain this command