diff options
| author | Gareth Williams <gareth@garethwilliams.me.uk> | 2019-03-01 11:30:55 +0000 |
|---|---|---|
| committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2019-03-06 12:48:09 +0000 |
| commit | 8a89854d9f7c19e766652fc8618f65db8a1c73eb (patch) | |
| tree | e9b8252ee5aa2f1f3737ff50cffc439fada2d104 /testing/etcd/etcd.initd | |
| parent | cf730eaa47bdc83194792a44547c58a801d1d53b (diff) | |
| download | aports-8a89854d9f7c19e766652fc8618f65db8a1c73eb.tar.bz2 aports-8a89854d9f7c19e766652fc8618f65db8a1c73eb.tar.xz | |
testing/etcd: fix inability to read config options
Fixes #7161
Options in /etc/conf.d/etcd aren't passed to the daemon. This patch
configures etcd to read options from a YAML file instead.
Diffstat (limited to 'testing/etcd/etcd.initd')
| -rw-r--r-- | testing/etcd/etcd.initd | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/testing/etcd/etcd.initd b/testing/etcd/etcd.initd index 2383c88c9b..14c687967c 100644 --- a/testing/etcd/etcd.initd +++ b/testing/etcd/etcd.initd @@ -22,7 +22,7 @@ start() { --background \ --make-pidfile \ --exec /usr/bin/etcd -- \ - --name=$ETCD_NAME \ + --config-file=$ETCD_CONFIG \ --data-dir="$ETCD_DATA_DIR" \ $ETCD_OPTS eend $? "Failed to start $SVCNAME" @@ -34,4 +34,3 @@ stop() { eend $? "Failed to stop $SVCNAME" rm -f "$PIDFILE" } - |
