This commit is contained in:
Elizabeth Hunt 2024-07-02 00:54:28 -04:00
parent b4835dc312
commit 91279da6ec
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ After=docker.service
[Service] [Service]
RemainAfterExit=true RemainAfterExit=true
WorkingDirectory=/etc/docker/compose/%i WorkingDirectory=/etc/docker/compose/%i
ExecStartPre=/bin/bash -c "/usr/bin/docker compose pull || /bin/test" ExecStartPre=/bin/bash -c "/usr/bin/docker compose pull || true"
ExecStart=/usr/bin/docker compose up --detach --remove-orphans ExecStart=/usr/bin/docker compose up --detach --remove-orphans
ExecStop=/usr/bin/docker compose down ExecStop=/usr/bin/docker compose down
Restart=always Restart=always