nixos/paperless-ng: fix mail importer
The private network setting was placed on the wrong service
This commit is contained in:
parent
3180037c84
commit
16f80139f0
1 changed files with 2 additions and 2 deletions
|
@ -216,6 +216,8 @@ in
|
|||
Restart = "on-failure";
|
||||
# The `mbind` syscall is needed for running the classifier.
|
||||
SystemCallFilter = defaultServiceConfig.SystemCallFilter ++ [ "mbind" ];
|
||||
# Needs to talk to mail server for automated import rules
|
||||
PrivateNetwork = false;
|
||||
};
|
||||
environment = env;
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
@ -258,8 +260,6 @@ in
|
|||
'${cfg.passwordFile}' '${cfg.dataDir}/superuser-password'
|
||||
'';
|
||||
Type = "oneshot";
|
||||
# Needs to talk to mail server for automated import rules
|
||||
PrivateNetwork = false;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue