We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8f99ea commit 43e78ecCopy full SHA for 43e78ec
borgmatic/borgmatic-backup.service
@@ -1,7 +1,10 @@
1
[Unit]
2
Description=Daily Borgmatic backup for all sites
3
-After=network.target
+After=network.target docker.service
4
+Requires=docker.service
5
6
[Service]
7
Type=oneshot
8
ExecStart=/usr/bin/bash -c "HOSTNAME=$(hostname) /usr/bin/docker compose -f /opt/borgmatic/docker-compose.yml run --rm --entrypoint 'borgmatic --stats -v 0' borgmatic"
9
+StandardOutput=journal
10
+StandardError=journal
0 commit comments