by fsckboy · 3y ago · 0 comments
systemctl daemon-reload
systemctl disable mydaemon.service
ls /etc/systemd/system/mydaemon.service
ls: cannot access '/etc/systemd/system/mydaemon.service': No such file or directory
It has no business removing that symlink. It was placed there by me, and it should be treated no differently than if it was a regular file.
I have no problem with systemctl enable/disable creating and removing links in the appropriate target.d directories, but this symlink had nothing to do with that mechanism. Leave my stuff alone.