blob: ab0cc9850b87cb711c8fab9656f66f3e3f37ec46 [file] [log] [blame]
Jackie Huang57fdea72020-04-23 11:29:15 +08001[Unit]
2Description=RabbitMQ Messaging broker/server service
3After=network.target
4
5[Service]
6Type=simple
7User=root
8Environment=HOME=/home/root
9WorkingDirectory=/var/lib/rabbitmq
10LogsDirectory=rabbitmq
11ExecStartPre=/usr/bin/rabbitmq-server-setup
12ExecStart=/usr/bin/rabbitmq-server
13ExecStop=/usr/bin/rabbitmqctl stop
14
15[Install]
16WantedBy=multi-user.target