mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-31 23:13:17 +02:00
403 B
403 B
systemctl edit
Edit systemd unit files. More information: https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#edit%20UNIT%E2%80%A6.
- Replace 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}}