On 19 March 2014 11:23, guenter <chym...@gmx.net> wrote:
> trying to change the used backend "-e lxc" or debug-flag "-D" for docker.io 
> in /etc/default/docker.io resulted in ignorance ;)
> using
> systemd 204-7 on jessie/sid
> docker.io 0.9.0+dfsg1-1

Supporting /etc/default/docker in the systemd service file has been
discussed upstream[1] in the past, and the conclusion is always that
systemd upstream discourages doing things like this, and encourages
instead that users create file like
/etc/systemd/docker.io.service.d/start.conf which overrides just the
options you want, which in this case would probably just be ExecStart.

Supporting this upstream would be further complicated by the fact that
the upstream service file is used not just by Debian, but also by
RedHat, Gentoo, Arch, etc.  So, it would also need to support
/etc/conf.d/docker, /etc/sysconfig/docker, etc, and would need to
support the varying variable names contained in those different files.

Be sure to check out the comment linked on that ticket[2] that has a
more specific example of how to accomplish this with systemd.

♥,
- Tianon

[1]: https://github.com/dotcloud/docker/pull/3627
[2]: https://github.com/dotcloud/docker/pull/3307#issuecomment-31275252


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to