mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-18 17:50:02 +00:00
Update cheatsheets
This commit is contained in:
22
tldr/linux/systemctl-reload
Normal file
22
tldr/linux/systemctl-reload
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
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 {{networking apache2 ...}}`
|
||||
|
||||
- Reload a service for the current user:
|
||||
|
||||
`systemctl --user reload {{pipewire}}`
|
||||
Reference in New Issue
Block a user