Le vendredi 11 mai 2012 à 11:37 +0200, Tollef Fog Heen a écrit :
> I have /lib/systemd/system/foo.service and want to change something in
> it, I then create /etc/systemd/system/foo.service with a copy of the
> /lib one plus whatever changes I want.
> 
> The version in /lib is then updated.  How is the admin notified?

The postinst script could run ucf but only if the file in /etc exists.
It doesn’t seem very complicated to implement with existing tools.
(Alternatively this could be an option to ucf.)

-- 
.''`.      Josselin Mouette
: :' :
`. `'
  `-


--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1336919442.2522.2.camel@tomoe

Reply via email to