blob: ab0cc9850b87cb711c8fab9656f66f3e3f37ec46 [file] [log] [blame]
[Unit]
Description=RabbitMQ Messaging broker/server service
After=network.target
[Service]
Type=simple
User=root
Environment=HOME=/home/root
WorkingDirectory=/var/lib/rabbitmq
LogsDirectory=rabbitmq
ExecStartPre=/usr/bin/rabbitmq-server-setup
ExecStart=/usr/bin/rabbitmq-server
ExecStop=/usr/bin/rabbitmqctl stop
[Install]
WantedBy=multi-user.target