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