Skip to content
Snippets Groups Projects
Commit c56b5420 authored by jurgenhaas's avatar jurgenhaas
Browse files

Fix borgmatic init command

parent ea467b23
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ DeployDataCore:
- docker compose pull --quiet
- docker compose up -d --quiet-pull --remove-orphans
- docker compose exec -u root borgmatic chmod -R go-w-r-x /root/.ssh || true
- if [[ ! -d borgdata/config/security ]]; then docker compose exec -u root borgmatic borgmatic --init --encryption repokey || true; fi
- if [[ ! -d borgdata/config/security ]]; then docker compose exec -u root borgmatic borgmatic init --encryption repokey || true; fi
- |
echo "Wait for DataCore to be ready..."
REQUIRED="HTTP/1.1 200"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment