mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-09-24 23:11:29 +08:00
* Update systemctl-cat.md, systemctl-edit.md, systemctl-mask.md, systemctl-stop.md, systemctl-thaw.md, systemctl-start.md, systemctl-freeze.md, systemctl-status.md, systemctl-unmask.md, systemctl-whoami.md, systemctl-restart.md, systemctl-suspend.md
464 B
464 B
systemctl edit
Edit systemd unit files. More information: https://www.freedesktop.org/software/systemd/man/systemctl.html#edit%20UNIT%E2%80%A6.
- Overlay a unit file non-destructively:
sudo systemctl edit {{unit_file}}
- Edit an unit file:
sudo systemctl edit {{[-l|--full]}} {{unit_file}}
- Create a new unit file:
sudo systemctl edit {{[-lf|--full --force]}} {{unit_file}}
- Overlay a user unit file:
systemctl edit --user {{unit_file}}