2014-11-20 16:12 GMT+01:00 Jonas Smedegaard <d...@jones.dk>: > Quoting Vincent Danjean (2014-11-20 14:25:59) >> Hi, >> >> On 18/11/2014 18:36, Ansgar Burchardt wrote: >> > With systemd you can ship a default configuration in >> > /lib/systemd/system and administrators can override specific options, >> > for example: >> > >> > +--- >> > | [Unit] >> > | Description=Some Helpful Description >> > | Documentation=man:minidlda(1) >> > | >> > | [Service] >> > | User=minidlda >> > | ExecStart=/usr/sbin/minidldad -S >> > +---[ /lib/systemd/system/minidlda.service ] >> > >> > Then an admin can override the entire file by writing his own >> > /etc/systemd/system/minidlda.service or only override specific settings: >> > >> > +--- >> > | [Service] >> > | User=some-other-user >> > +---[ /etc/systemd/system/miniblda.service.d/user.conf ] >> >> I did not know that. It is very interesting. >> >> But, is there a way to be notified at upgrade time that the system >> service file has been modified when there is local (partial or full) >> changes ? > > I was wondering the same. At least for the systemd-case, you can easily notice changes using the systemd-delta command: $> systemd-delta --diff This will list all overrides and the differences in case something has changed. Cheers, Matthias
-- Debian Developer | Freedesktop-Developer I welcome VSRE emails. See http://vsre.info/ -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAKNHny_YoFgcKTOY1d0BqobqoG8cG0XXw9nBj-B56efwCDR=a...@mail.gmail.com