DANGEROUS
systemctl restart
Restart a systemd service. Stops and then starts the service, applying any configuration changes.
Primary Syntax
$ systemctl restart nginx
#
Example Usage
sudo systemctl restart apache2
sudo systemctl restart sshd#
Quick Tips
• Use man systemctl to read the full manual
• Add --help flag for quick options reference
• Combine with | less for paginated output
Submitted by: admin
Added: 2/9/2026