How to block Systemd update to overwrite my modified service files?


Is there a possibility that during the systemd package update my modified ".service" files are stored under


will NOT be overwritten to DEFAULT automatically?

This is very annoying every time many of my ".service" files under


by hand.

I don't want the systemd package update to overwrite my modified service files to default.

Is there any way to block this?

Do not get me rude, but ...
You should not place user editable service files in the folders which are controlled by APT!
It is wrong method, so overwrites are absolutely expected.

Consult with

for proper paths for user's services.

ok, thanks for the info.