openldap: Allow notify outside of main thread
This fixes a bug I observed in deployment on a RPi, but not able to reproduce in tests.
This commit is contained in:
committed by
Jörg Thalheim
parent
d1f55ce0a4
commit
d72f89a8fc
@@ -269,6 +269,9 @@ in {
|
||||
"-h" (lib.concatStringsSep " " cfg.urlList)
|
||||
]);
|
||||
Type = "notify";
|
||||
# Fixes an error where openldap attempts to notify from a thread
|
||||
# outside the main process:
|
||||
# Got notification message from PID 6378, but reception only permitted for main PID 6377
|
||||
NotifyAccess = "all";
|
||||
PIDFile = cfg.settings.attrs.olcPidFile;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user