minetest-deploy/packer/docker-compose.service

17 lines
301 B
SYSTEMD
Raw Permalink Normal View History

2020-05-09 10:30:13 -04:00
[Unit]
Description=Docker Compose Application Service
Requires=docker.service
After=docker.service
[Service]
Type=oneshot
RemainAfterExit=yes
WorkingDirectory=/root
ExecStart=/usr/bin/docker-compose up -d
ExecStop=/usr/bin/docker-compose down
TimeoutStartSec=0
[Install]
WantedBy=multi-user.target