dogtamer/deploy/dogtamer.service

16 lines
330 B
SYSTEMD
Raw Normal View History

2021-08-21 14:15:29 +00:00
[Unit]
Description=Dogtamer Container
After=docker.service
Requires=docker.service
[Service]
TimeoutStartSec=0
Restart=always
ExecStartPre=-/usr/bin/docker stop dogtamer
ExecStartPre=-/usr/bin/docker rm dogtamer
ExecStart=/usr/bin/docker run -p 5566:5566 \
--name dogtamer dogtamer:latest
[Install]
WantedBy=multi-user.target