Skip to content
This repository was archived by the owner on Aug 30, 2021. It is now read-only.

Conversation

@lukebakken
Copy link
Contributor

See rabbitmq/rabbitmq-server#1359

This gives guidances for those users who wish to automatically restart RabbitMQ in the event of a failure. Tested by using the Restart=on-failure setting, then running rabbitmqctl eval "erlang:halt(abort)."

See rabbitmq/rabbitmq-server#1359

This gives guidances for those users who wish to automatically restart RabbitMQ in the event of a failure. Tested by using the `Restart=on-failure` setting, then running `rabbitmqctl eval "erlang:halt(abort)."`
# replacement for service monitoring. Please see
# http://www.rabbitmq.com/monitoring.html
#
# Restart=on-failure # https://www.freedesktop.org/software/systemd/man/systemd.service.html#Restart=
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not use Restart=on-failure and the next line by default?

Copy link
Contributor

@michaelklishin michaelklishin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should use Restart=on-failure and RestartSec=10 by default and perhaps link to rabbitmq/rabbitmq-server#1359 which discusses those defaults.

We did a similar thing for the Windows service: https://github.com/rabbitmq/rabbitmq-server/pull/648/files

@lukebakken
Copy link
Contributor Author

@michaelklishin all set

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants