1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
[Unit] Description=RabbitMQ daemon [Service] Type=simple ExecStart=/usr/libexec/rabbitmq/rabbitmq-server ExecStop=/usr/libexec/rabbitmq/rabbitmqctl stop WorkingDirectory=/var/lib/rabbitmq User=rabbitmq Group=rabbitmq StandardOutput=syslog StandardError=syslog Restart=always [Install] WantedBy=multi-user.target