Hi Bill Am 22.07.19 um 16:49 schrieb Bill Allombert: > On Mon, Jul 22, 2019 at 03:35:42PM +0200, Michael Biebl wrote: >> Hi Bill >> >> Am 18.07.19 um 22:56 schrieb Bill Allombert: >>> Hello Michael, >>> >>> Sorry for the delay. >>> >>> I have added your .service file to the upstream package. >>> However for Debian, how does this will interact with options >>> set in /etc/default/consolation ? >> >> I personally consider /etc/default/$foo as a (Debian specific) sysvinit >> anachronism and prefer if this is only used by the SysV init script. >> >> systemd provides a native mechanism to extend or override parts of a >> service, called systemd drop-in files [1], which is the preferred way if >> you want to customize the service. >> >> If you want to be nice to your users, you can add a note to >> /etc/default/consolation that this file is SysV init specific. > > Well but then users who upgrade will lose their configuration, which is > opposite to Debian principles on upgrade.
I would be pragmatic here. If you expect that a high percentage of your users has modified /etc/default/consolation as they needed to change the daemon parameters, then I would do a one-time migration of those settings in postinst. Otherwise I would just document this change, either via changelog.Debian or NEWS.Debian. Regards, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature