rabbitmq-server/rabbitmq-server.service

19 lines
344 B
SYSTEMD
Raw Normal View History

[Unit]
Description=RabbitMQ broker
After=syslog.target network.target
Requires=epmd.service
[Service]
Type=notify
User=rabbitmq
Group=rabbitmq
LimitNOFILE=65535
NotifyAccess=all
WorkingDirectory=/var/lib/rabbitmq
ExecStart=/usr/sbin/rabbitmq-server
ExecStop=/usr/sbin/rabbitmqctl stop
TimeoutStartSec=300
[Install]
WantedBy=multi-user.target