Skip to content

Commit ff058d3

Browse files
committed
Update service to be oneshot
- Infinity start time is default - Helps with serial execution - Also see openSUSE/snapper#392 In order for this to run properly after `snapper-timeline.service`, it too must be a `Type=oneshot` service to serially execute this service afterwards. Otherwise we run into a race condition where this service is not able to read the newly created lvm snapshots yet.
1 parent 4b51951 commit ff058d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snapper2borg.service

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Description=Borg backup post snapper snapshots
33
After=snapper-timeline.service
44

55
[Service]
6-
Type=simple
6+
Type=oneshot
77
ExecStart=/usr/local/bin/snapper2borg.sh
88

99
[Install]

0 commit comments

Comments
 (0)