Merge "Restart haproxy in AWS LB during boot"
This commit is contained in:
@@ -196,6 +196,9 @@ lb_template_default = r'''
|
|||||||
"# install cfn-hup crontab\n",
|
"# install cfn-hup crontab\n",
|
||||||
"crontab /tmp/cfn-hup-crontab.txt\n",
|
"crontab /tmp/cfn-hup-crontab.txt\n",
|
||||||
|
|
||||||
|
"# restart haproxy service to catch initial changes\n",
|
||||||
|
"systemctl reload-or-restart haproxy.service\n",
|
||||||
|
|
||||||
"# LB setup completed, signal success\n",
|
"# LB setup completed, signal success\n",
|
||||||
"/opt/aws/bin/cfn-signal -e 0 -r \"LB server setup complete\" '",
|
"/opt/aws/bin/cfn-signal -e 0 -r \"LB server setup complete\" '",
|
||||||
{ "Ref" : "WaitHandle" }, "'\n"
|
{ "Ref" : "WaitHandle" }, "'\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user