From de6650874da1470f10d4561fd1e33829eaef3414 Mon Sep 17 00:00:00 2001 From: Jeffrey Zhang Date: Sat, 19 Mar 2016 00:24:44 +0800 Subject: Start the haproxy by using haproxy-system-wrapper haproxy-system-wrapper is a solution for systemd from upstream. it can handle the reload graceful. Change-Id: I6a3d141af065e429bd1be1b7252f5c6df1fda3bb Closes-Bug: #1559238 --- ansible/roles/haproxy/templates/haproxy.json.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ansible') diff --git a/ansible/roles/haproxy/templates/haproxy.json.j2 b/ansible/roles/haproxy/templates/haproxy.json.j2 index d838dad83..c95dd7703 100644 --- a/ansible/roles/haproxy/templates/haproxy.json.j2 +++ b/ansible/roles/haproxy/templates/haproxy.json.j2 @@ -1,5 +1,5 @@ { - "command": "/usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid", + "command": "/usr/sbin/haproxy-systemd-wrapper -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid", "config_files": [ { "source": "{{ container_config_directory }}/haproxy.cfg", -- cgit v1.2.3