Editing "/etc/systemd/system/<service>.d/override.conf" canceled: temporary file is empty.

Linux/CentOS 9

  • outline
sudo systemctl edit <service>
>>
Editing "/etc/systemd/system/sysstat-collect.timer.d/override.conf" canceled: temporary file is empty.
  • resolution
sudo systemctl --full edit <service>
  • reference

https://wiki.archlinux.org/title/systemd