From 6358cf788fbff2929a5daf1ce9e82b2709674728 Mon Sep 17 00:00:00 2001
From: Smaine Kahlouch <smaine.kahlouch@arkena.com>
Date: Sat, 30 Jan 2016 22:31:41 +0100
Subject: [PATCH] etcd initd startup command fix

---
 roles/etcd/templates/deb-etcd.initd.j2 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/roles/etcd/templates/deb-etcd.initd.j2 b/roles/etcd/templates/deb-etcd.initd.j2
index 2fb4b76b4..ec3d9373d 100644
--- a/roles/etcd/templates/deb-etcd.initd.j2
+++ b/roles/etcd/templates/deb-etcd.initd.j2
@@ -46,8 +46,8 @@ do_status()
 #
 do_start()
 {
-    start-stop-daemon --background --start --quiet --make-pidfile --pidfile $PID --user $DAEMON_USER --exec $DAEMON \
-        $DAEMON_OPTS \
+    start-stop-daemon --background --start --quiet --make-pidfile --pidfile $PID --user $DAEMON_USER --exec $DAEMON -- \
+        $DAEMON_ARGS \
         || return 2
 }
 
-- 
GitLab