aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/haproxy/templates/haproxy.json.j2
diff options
context:
space:
mode:
authorJeffrey Zhang <jeffrey.zhang@99cloud.net>2016-03-19 00:24:44 +0800
committerJeffrey Zhang <jeffrey.zhang@99cloud.net>2016-03-30 18:07:40 +0800
commitde6650874da1470f10d4561fd1e33829eaef3414 (patch)
tree6985e502e5adc5b8533dd38d625b2d15bdd32da9 /ansible/roles/haproxy/templates/haproxy.json.j2
parent981d8206abbe3aab42af371c8d8a76face9406b4 (diff)
downloadkolla-de6650874da1470f10d4561fd1e33829eaef3414.tar.gz
kolla-de6650874da1470f10d4561fd1e33829eaef3414.zip
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
Diffstat (limited to 'ansible/roles/haproxy/templates/haproxy.json.j2')
-rw-r--r--ansible/roles/haproxy/templates/haproxy.json.j22
1 files changed, 1 insertions, 1 deletions
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",