compose/yacht/yacht.service

13 lines
240 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Yacht container deployment service
Type=simple
[Service]
WorkingDirectory=/docker/compose/yacht
ExecStart=docker-compose up
ExecStop=docker-compose down
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=default.target