Working restic restore from snapshot id on boot.

This commit is contained in:
2026-04-23 19:01:12 -07:00
parent f3b9bfee9a
commit ce5d3f0cc6
6 changed files with 70 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
[Unit]
Description=Main App
After=docker.service
Requires=docker.service
After=restic-restore.service
Requires=docker.service restic-restore.service
[Service]
TimeoutStartSec=0
ExecStart=/bin/bash -c '/usr/bin/docker compose -f /app/docker-compose.yaml $(find /app -mindepth 2 -maxdepth 2 -type f -name docker-compose.yaml -exec echo -f {} \;) up'