[Unit]
Description=RabbitMQ Messaging Server
After=syslog.target network.target

[Service]
Type=simple
User=rabbitmq
Group=rabbitmq
Environment=HOME=/var/lib/rabbitmq
WorkingDirectory=/var/lib/rabbitmq
LogsDirectory=/var/log/rabbitmq
ExecStart=/usr/sbin/rabbitmq-server
ExecStop=/usr/sbin/rabbitmqctl stop

[Install]
WantedBy=multi-user.target
