I want to install my own service by dropping a
.service file in
/etc/systemd/system. My source
.service file is in
I have two choices when installing:
cp /opt/something.service /etc/systemd/system
ln -s /opt/something.service /etc/systemd/system
Both approaches work when I
enable the service (the service works correctly).
There is however a difference when disabling the service:
- in the case of the copy,
- in the case of the link,
Is this by design? This is quite annoying because after disabling the service created via a link, it is not enough to
enable it - the service unit must be recreated too.