1 2 3 4 5 6 7 8 9 10 11 12 13
[Unit] Description=RabbitMQ Messaging broker/server service After=network.target [Service] Type=simple User=root ExecStartPre=/usr/bin/rabbitmq-server-setup ExecStart=/usr/bin/rabbitmq-server ExecStop=/usr/bin/rabbitmqctl stop [Install] WantedBy=multi-user.target