Files
0cd4101c66b43ca69a3e8dbadd2cf39e9df3bf05
openstack-ansible-rabbitmq_... /templates /systemd-restart-on-failure.conf.j2
Major Hayden e27a4b2851 Add automatic restart for RabbitMQ
This patch ensures that systemd will restart RabbitMQ in case of
failure or if the process is manually killed.
Closes-Bug: 1659954
Change-Id: Id8dbdccfe445f4a25902054eb6809d42a92d5f5d
2017年08月18日 08:50:19 -05:00

5 lines
66 B
Django/Jinja

# {{ ansible_managed }}
[Service]
Restart=on-failure
RestartSec=2