2013-04-04 11:48:47 +02:00
|
|
|
[Unit]
|
|
|
|
Description=RabbitMQ broker
|
2018-12-15 21:49:30 +01:00
|
|
|
After=syslog.target network.target epmd.service
|
|
|
|
BindsTo=epmd.service
|
2013-04-04 11:48:47 +02:00
|
|
|
|
|
|
|
[Service]
|
2015-06-24 15:23:12 +02:00
|
|
|
Type=notify
|
2013-04-04 11:48:47 +02:00
|
|
|
User=rabbitmq
|
|
|
|
Group=rabbitmq
|
2016-04-17 22:06:11 +02:00
|
|
|
LimitNOFILE=65535
|
2015-06-25 22:39:13 +02:00
|
|
|
NotifyAccess=all
|
2013-04-04 11:48:47 +02:00
|
|
|
WorkingDirectory=/var/lib/rabbitmq
|
|
|
|
ExecStart=/usr/sbin/rabbitmq-server
|
2021-08-23 10:21:50 +02:00
|
|
|
ExecStop=/usr/sbin/rabbitmqctl shutdown
|
|
|
|
# See rabbitmq/rabbitmq-server-release#51
|
|
|
|
SuccessExitStatus=69
|
2018-01-22 14:34:41 +01:00
|
|
|
TimeoutStartSec=300
|
2018-05-29 13:47:06 +02:00
|
|
|
# required on machines with many cores (bsc#1094896):
|
|
|
|
TasksMax=8192
|
2021-08-23 10:21:50 +02:00
|
|
|
Restart=on-failure
|
|
|
|
RestartSec=10
|
2013-04-04 11:48:47 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|