btrbk
btrbk copied to clipboard
[systemd] Add delay.timer
The current systemd timer triggers to soon in the boot process for network based source and destinations to be available. See #486 Creating a drop-in timer in /etc/systemd/system/btrbk.timer.d/ with a delay works.
This PR adds a delay.timer unit with a 5 min delay that makes the timer wait for 5 minutes before it runs the backup. This should be more than enough time to make sure any remote source or destination is available to the system. If needed, we can adjust the delay by just changing the OnBootSec=5m line in delay.time.in to something more appropriate.
Should fix #486 .