Remove in-line comments from RPM systemd file because systemd complains about them
This commit is contained in:
parent
1bee575089
commit
efb74c2bc9
|
@ -8,16 +8,24 @@ User=rabbitmq
|
||||||
Group=rabbitmq
|
Group=rabbitmq
|
||||||
NotifyAccess=all
|
NotifyAccess=all
|
||||||
TimeoutStartSec=3600
|
TimeoutStartSec=3600
|
||||||
|
# Note: systemd on CentOS 7 complains about in-line comments,
|
||||||
|
# so only append them here
|
||||||
|
#
|
||||||
|
# Restart:
|
||||||
# The following setting will automatically restart RabbitMQ
|
# The following setting will automatically restart RabbitMQ
|
||||||
# in the event of a failure. systemd service restarts are not a
|
# in the event of a failure. systemd service restarts are not a
|
||||||
# replacement for service monitoring. Please see
|
# replacement for service monitoring. Please see
|
||||||
# http://www.rabbitmq.com/monitoring.html
|
# http://www.rabbitmq.com/monitoring.html
|
||||||
Restart=on-failure # https://www.freedesktop.org/software/systemd/man/systemd.service.html#Restart=
|
# Restart docs: https://www.freedesktop.org/software/systemd/man/systemd.service.html#Restart=
|
||||||
RestartSec=10 # https://www.freedesktop.org/software/systemd/man/systemd.service.html#RestartSec=
|
# RestartSec docs: https://www.freedesktop.org/software/systemd/man/systemd.service.html#RestartSec=
|
||||||
|
#
|
||||||
|
# SuccessExitStatus: rabbitmq/rabbitmq-server-release#51
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=10
|
||||||
WorkingDirectory=/var/lib/rabbitmq
|
WorkingDirectory=/var/lib/rabbitmq
|
||||||
ExecStart=/usr/sbin/rabbitmq-server
|
ExecStart=/usr/sbin/rabbitmq-server
|
||||||
ExecStop=/usr/sbin/rabbitmqctl shutdown
|
ExecStop=/usr/sbin/rabbitmqctl shutdown
|
||||||
SuccessExitStatus=69 # rabbitmq/rabbitmq-server-release#51
|
SuccessExitStatus=69
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in New Issue