start backup after mount

This commit is contained in:
nora 2025-11-28 18:08:56 +01:00
parent c96dd28a7e
commit 0ad157e838

View file

@ -12,6 +12,7 @@
systemd.timers.paperless-ngx-backup = { systemd.timers.paperless-ngx-backup = {
description = "paperless-ngx data backup to NAS"; description = "paperless-ngx data backup to NAS";
wantedBy = [ "timers.target" ]; wantedBy = [ "timers.target" ];
after = [ "mnt-nas.mount" ];
timerConfig = { timerConfig = {
Unit = "paperless-ngx-backup.service"; Unit = "paperless-ngx-backup.service";
OnCalendar = "daily UTC"; OnCalendar = "daily UTC";