openstack-ansible-rabbitmq_.../templates/rabbitmq-server.service.j2
Markos Chandras ec2ec4c8dc Add support for the openSUSE Leap distributions
Add support for the openSUSE Leap distributions. On openSUSE we also
need to provide our own rabbitmq-server.service systemd file which
doesn't depend on epmd.socket and epmd.service unit files.

Change-Id: I7907da612654d6593cfa40470eaec0be633ba4e9
2017-06-22 22:21:16 +01:00

19 lines
347 B
Django/Jinja

[Unit]
Description=RabbitMQ broker
After=syslog.target network.target
Conflicts=epmd.socket
Conflicts=epmd.service
[Service]
Type=notify
User=rabbitmq
Group=rabbitmq
LimitNOFILE=65535
NotifyAccess=all
WorkingDirectory=/var/lib/rabbitmq
ExecStart=/usr/sbin/rabbitmq-server
ExecStop=/usr/sbin/rabbitmqctl stop
[Install]
WantedBy=multi-user.target