mirror of
https://github.com/Noratrieb/nixos.git
synced 2026-01-14 11:45:06 +01:00
start backup after mount
This commit is contained in:
parent
c96dd28a7e
commit
0ad157e838
1 changed files with 1 additions and 0 deletions
|
|
@ -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";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue