Make sure docker-compose is found
This commit is contained in:
parent
123ce65c82
commit
99a8b5038e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue