Working restic restore from snapshot id on boot.
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user