❦ 11 mars 2017 21:07 +0100, Francois Gouget <fgou...@free.fr> : > An upgrade overwrote the changes I made to > /lib/systemd/system/snmpd.service so I had to rediscover the fix from my > previous report :-( > > I want to use my settings for snmpd and I don't want them to be thrown > away with each upgrade!
This is not a conffile, so it will get modified on each upgrade unless you divert it (with dpkg-divert). However, for a systemd unit file, you can override the parts you want with "systemctl edit". -- Watch out for off-by-one errors. - The Elements of Programming Style (Kernighan & Plauger)
signature.asc
Description: PGP signature