systemctl command
Start, stop, enable and check systemd services.
- Processes & services
- Package systemd
- 10 options · 10 examples
Syntax
systemctl [command] [unit]Provided by the systemd package. Run man systemctl for the full manual.
Common options
| Option | What it does |
|---|---|
start | Start a service now |
stop | Stop a service |
restart | Stop and start |
reload | Reload config without a restart |
status | State and recent log lines |
enable | Start at boot (--now also starts it) |
disable | Don't start at boot |
is-active | Print active or inactive |
list-units --type=service | Running services |
daemon-reload | Re-read unit files after editing |
Examples
Start a service
sudo systemctl start nginxStop a service
sudo systemctl stop nginxRestart a service
sudo systemctl restart php8.4-fpmReload config
sudo systemctl reload nginxCheck a service
systemctl status mysqlStart now and at every boot
sudo systemctl enable --now dockerDon't start at boot
sudo systemctl disable apache2List running services
systemctl list-units --type=service --state=runningList failed units
systemctl --failedAfter editing a unit file
sudo systemctl daemon-reload
No example matches. Check the options table or search the guides.
systemctl guides
- How to Use Systemctl Command to Manage Systemd Services Linux Commands · Updated Apr 2025
