[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFC: OpenRC as Init System for Debian

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
: :' :
`. `'

Reply to: