Make sure docker-compose is found

This commit is contained in:
Martin Lablans 2022-01-10 15:41:07 +01:00
parent 123ce65c82
commit 99a8b5038e
1 changed files with 3 additions and 4 deletions

View File

@ -7,10 +7,9 @@ RestartSec=30
WorkingDirectory=/srv/docker/bridgehead/%i WorkingDirectory=/srv/docker/bridgehead/%i
ExecStartPre=/usr/local/bin/docker-compose --env-file ../site-config/%i.env down ExecStartPre=docker-compose --env-file ../site-config/%i.env down
ExecStart=/usr/local/bin/docker-compose --env-file ../site-config/%i.env up ExecStart=docker-compose --env-file ../site-config/%i.env up
ExecStop=docker-compose --env-file ../site-config/%i.env down
ExecStop=/usr/local/bin/docker-compose --env-file ../site-config/%i.env down
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target