From 90fc407420198f48d92544bd3be8fa596a2b2558 Mon Sep 17 00:00:00 2001
From: Matthew Mosesohn <mmosesohn@mirantis.com>
Date: Wed, 27 Jul 2016 11:54:47 +0300
Subject: [PATCH] Fix etcd user for etcd-proxy service

Only affects sys V OSes (Ubuntu 14.04)

Fixes ##383
---
 roles/etcd/templates/deb-etcd-proxy-docker.initd.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/roles/etcd/templates/deb-etcd-proxy-docker.initd.j2 b/roles/etcd/templates/deb-etcd-proxy-docker.initd.j2
index c2fa40106..592361351 100644
--- a/roles/etcd/templates/deb-etcd-proxy-docker.initd.j2
+++ b/roles/etcd/templates/deb-etcd-proxy-docker.initd.j2
@@ -28,7 +28,7 @@ DAEMON_ARGS='--restart=always --env-file=/etc/etcd-proxy.env \
 
 
 SCRIPTNAME=/etc/init.d/$NAME
-DAEMON_USER=etcd-proxy
+DAEMON_USER=etcd
 STOP_SCHEDULE="${STOP_SCHEDULE:-QUIT/5/TERM/5/KILL/5}"
 PID=/var/run/etcd-proxy.pid
 
-- 
GitLab