File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
nixos/modules/services/misc Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 331331 ExecStart = "${ cfg . package } /bin/celery --app paperless beat --loglevel INFO" ;
332332 Restart = "on-failure" ;
333333 LoadCredential = lib . optionalString ( cfg . passwordFile != null ) "PAPERLESS_ADMIN_PASSWORD:${ cfg . passwordFile } " ;
334+ PrivateNetwork = cfg . database . createLocally ; # defaultServiceConfig enables this by default, needs to be disabled for remote DBs
334335 } ;
335336 environment = env ;
336337
407408 User = cfg . user ;
408409 ExecStart = "${ cfg . package } /bin/paperless-ngx document_consumer" ;
409410 Restart = "on-failure" ;
411+ PrivateNetwork = cfg . database . createLocally ; # defaultServiceConfig enables this by default, needs to be disabled for remote DBs
410412 } ;
411413 environment = env ;
412414 # Allow the consumer to access the private /tmp directory of the server.
You can’t perform that action at this time.
0 commit comments