[pkg-go] Bug#792704: etcd: Allow etcd configuration with systemd unit file
Eric Paris
debianbugs at parisplace.org
Fri Jul 17 16:27:21 UTC 2015
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
More information about the Pkg-go-maintainers
mailing list