summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/rabbitmq-server/files/rabbitmq.service')
-rw-r--r--net-misc/rabbitmq-server/files/rabbitmq.service6
1 files changed, 5 insertions, 1 deletions
diff --git a/net-misc/rabbitmq-server/files/rabbitmq.service b/net-misc/rabbitmq-server/files/rabbitmq.service
index 6bb26f62f447..9264b406713f 100644
--- a/net-misc/rabbitmq-server/files/rabbitmq.service
+++ b/net-misc/rabbitmq-server/files/rabbitmq.service
@@ -3,7 +3,11 @@ Description=RabbitMQ daemon
[Service]
Type=simple
-ExecStart=/usr/sbin/rabbitmq-server
+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