iredapd.service must after slapd.service
bronkoo opened this issue · comments
We should extend iredapd.service file to have OpenLDAP up and running: before
After=network.target local-fs.target remote-fs.target slapd.service
Background at forum.
Fixed. Thanks for the feedback. :)
iredmail/iRedAPD@bf33fc4
New version 5.4.0 is now available for upgrading, with just this small change.
Thanks!
Comment:
My assumption was to have 'Requires=' in place, to be sure service is up and running, while 'After=' should only give an order, not a check of running slapd.service.
But the reality by tests give me the answer from above.
May be some farther tests necessary...
For iRedMail SQL backends, there's no LDAP service at all, so After=
is proper.