Dirk Mueller
c0a4d088db
OBS-URL: https://build.opensuse.org/request/show/229619 OBS-URL: https://build.opensuse.org/package/show/network:messaging:amqp/rabbitmq-server?expand=0&rev=42
19 lines
462 B
Desktop File
19 lines
462 B
Desktop File
[Unit]
|
|
Description=RabbitMQ broker
|
|
After=epmd.socket syslog.target network.target
|
|
Requires=epmd.socket
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=rabbitmq
|
|
Group=rabbitmq
|
|
Environment=RABBITMQ_PID_FILE=/var/run/rabbitmq/pid
|
|
WorkingDirectory=/var/lib/rabbitmq
|
|
ExecStart=/usr/sbin/rabbitmq-server
|
|
ExecStartPost=/usr/sbin/rabbitmqctl wait /var/run/rabbitmq/pid
|
|
ExecStop=/usr/sbin/rabbitmqctl stop
|
|
ExecStopPost=/usr/bin/rm /var/run/rabbitmq/pid
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|