Why is not good enough to use systemd’s ways to override specific keys of a service file? I.e., use “systemctl edit etcd” and specify e.g. Environment= ETCD_DATA_DIR=/my/path/to/etcd
On Fri, Jul 17, 2015 at 4:27 PM, Eric Paris <debianb...@parisplace.org> wrote: > Package: etcd > Version: 2.0.8-2 > Severity: wishlist > > Dear Maintainer, > > The systemd unit file hard codes a working dir and name. It does not have > any mechanism for additional configuration. Personally I like the Fedora > systemd unit file > > http://pkgs.fedoraproject.org/cgit/etcd.git/tree/etcd.service > > Which uses /etc/etcd/etcd.conf as the ENV file. > > The sysinit scripts use /etc/default/etcd but the ENV keys in that file > are not the ENV keys which etcd pays attention to. But there should be some > way, when using systemd to configure it. > > I got my instalation to work by just putting the Fedora .service file into > /etc/systemd/system, but a reasonable default in /lib seems like a good > idea. > > -- System Information: > Debian Release: 8.1 > APT prefers stable-updates > APT policy: (500, 'stable-updates'), (500, 'stable'), (1, 'experimental') > Architecture: amd64 (x86_64) > > Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores) > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > Init: systemd (via /run/systemd/system) > > Versions of packages etcd depends on: > ii adduser 3.113+nmu3 > ii libc6 2.19-18 > > etcd recommends no packages. > > etcd suggests no packages. > > -- Configuration Files: > /etc/default/etcd changed [not included] > /etc/init.d/etcd changed [not included] > > -- no debconf information > > _______________________________________________ > Pkg-go-maintainers mailing list > Pkg-go-maintainers@lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers > -- Best regards, Michael
_______________________________________________ Pkg-go-maintainers mailing list Pkg-go-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers