2013-04-04 09:48:47 +00:00
|
|
|
[Unit]
|
|
|
|
Description=RabbitMQ broker
|
2018-12-15 20:49:30 +00:00
|
|
|
After=syslog.target network.target epmd.service
|
|
|
|
BindsTo=epmd.service
|
2013-04-04 09:48:47 +00:00
|
|
|
|
|
|
|
[Service]
|
2021-10-22 02:42:59 +00:00
|
|
|
# added automatically, for details please see
|
|
|
|
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
|
|
ProtectSystem=full
|
|
|
|
ProtectHome=true
|
|
|
|
PrivateDevices=true
|
|
|
|
ProtectHostname=true
|
|
|
|
ProtectClock=true
|
|
|
|
ProtectKernelTunables=true
|
|
|
|
ProtectKernelModules=true
|
|
|
|
ProtectKernelLogs=true
|
|
|
|
ProtectControlGroups=true
|
|
|
|
RestrictRealtime=true
|
|
|
|
# end of automatic additions
|
2015-06-24 13:23:12 +00:00
|
|
|
Type=notify
|
2013-04-04 09:48:47 +00:00
|
|
|
User=rabbitmq
|
|
|
|
Group=rabbitmq
|
2016-04-17 20:06:11 +00:00
|
|
|
LimitNOFILE=65535
|
2015-06-25 20:39:13 +00:00
|
|
|
NotifyAccess=all
|
2013-04-04 09:48:47 +00:00
|
|
|
WorkingDirectory=/var/lib/rabbitmq
|
|
|
|
ExecStart=/usr/sbin/rabbitmq-server
|
2021-08-23 08:21:50 +00:00
|
|
|
ExecStop=/usr/sbin/rabbitmqctl shutdown
|
|
|
|
# See rabbitmq/rabbitmq-server-release#51
|
|
|
|
SuccessExitStatus=69
|
2018-01-22 13:34:41 +00:00
|
|
|
TimeoutStartSec=300
|
2018-05-29 11:47:06 +00:00
|
|
|
# required on machines with many cores (bsc#1094896):
|
|
|
|
TasksMax=8192
|
2021-08-23 08:21:50 +00:00
|
|
|
Restart=on-failure
|
|
|
|
RestartSec=10
|
2013-04-04 09:48:47 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|