mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
23 lines
522 B
Plaintext
23 lines
522 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# systemctl reload
|
|
|
|
> Reload a service's configuration without restarting it.
|
|
> This reloads the service itself (like Apache or `nginx` configs), not the systemd unit file.
|
|
> To reload unit files, use `systemctl daemon-reload`.
|
|
|
|
- Reload a service:
|
|
|
|
`systemctl reload {{nginx}}`
|
|
|
|
- Reload multiple services:
|
|
|
|
`systemctl reload {{unit1 unit2 ...}}`
|
|
|
|
- Reload a service for the current user:
|
|
|
|
`systemctl reload {{pipewire}} --user`
|