systemd should not run detached dockers
This commit is contained in:
parent
e2198c8afb
commit
f74bd927e3
@ -9,7 +9,7 @@ Restart=always
|
||||
ExecStartPre=-/usr/bin/docker stop %n
|
||||
ExecStartPre=-/usr/bin/docker rm %n
|
||||
ExecStartPre=/usr/bin/docker pull rabbitmq:latest
|
||||
ExecStart=/usr/bin/docker run -d \
|
||||
ExecStart=/usr/bin/docker run \
|
||||
-p 4369:4369 -p 25679:25679 -p 5671-5672:5671-5672 -p 8080:15672 \
|
||||
-e "RABBITMQ_DEFAULT_USER=user" -e "RABBITMQ_DEFAULT_PASS=password" \
|
||||
--hostname rabbitmq --name %n rabbitmq:3-management
|
||||
|
Loading…
Reference in New Issue
Block a user