On Fri, 2 Dec 2016 14:14:09 -0500 (EST) Jon Daley
<deb...@jon.limedaley.com> wrote:
> With systemd, has that changed - e.g. should I be putting /lib/systemd
> under source control as well?  Does systemd have a provision for
> user-supplied customizations to the defaults in /lib/systemd?  I imagine
> that my customizations will be overwritten (with a warning, hopefully?)
> upon upgrade?

With systemd if you want to override a system unit make a copy into
the /etc/systemd/system folder, and make your changes there.

So `cp /lib/systemd/system/snmpd.service
/etc/systemd/system/snmpd.service` and make your adjustments to the
copy.  Systemd will prefer a unit from the /etc folder of a unit from
the /lib/systemd.

Reply via email to