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

Bug#750529: systemd unit: Respect default file



tag 750529 -patch
thanks

Michael Biebl [2014-06-04 14:07 +0200]:
> I'm against adding such hacks to the .service file. Please don't do
> that. Please use the migration to native .service files to get rid of it.
> If you don't want the service to be started by default, simply use
> dh_systemd_enable --no-enable (or use a Condition*, if that is possible).
> While unfortunately there is no equivalent (yet) for update-rc.d, you
> can simply add a short comment to /etc/default/foo, that the RUN_BRLTTY
> setting has no influence on the systemd service and one should use
> systemctl enable|disable instead and that RUN_BRLTTY is only for the
> legacy system.
> 
> I don't want to see those RUN flags in /etc/default/foo dragged over
> into systemd service files.

Fair enough, let's go with the comment and --no-enable then. There is
no Condition* that allows you to specify a command, so we can't use
that.

Thanks,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

Attachment: signature.asc
Description: Digital signature


Reply to: