nixos/paperless: fix network-online.target dependencies

This commit is contained in:
Jade Lovelace 2023-10-03 00:22:01 -07:00
parent c125c23468
commit 80edf319fe

View file

@ -297,6 +297,7 @@ in
wantedBy = [ "paperless-scheduler.service" ];
before = [ "paperless-scheduler.service" ];
after = [ "network-online.target" ];
wants = [ "network-online.target" ];
serviceConfig = defaultServiceConfig // {
User = cfg.user;
Type = "oneshot";