net-nds/openldap supports running multiple instances, so the init script should reflect this. In certain setups running multiple instances is easier, than running multiple databases, because the instances can be restarted separately. Reproducible: Always Steps to Reproduce: none Actual Results: OpenLDAP runs in one instance Expected Results: It should be possible to run multiple OpenLDAP instances using init script symlinking and separate configuration files.
Created attachment 281239 [details, diff] Patch for the init script
We just found a bug in the patch, the default config root is /etc/openldap, will fix this soon.
Created attachment 281259 [details, diff] Updated patch for init script This init script now supports the following directory schemes: /etc/openldap /etc/openldap.INSTANCENAME
Added in 2.4.28-r1, no revbump. I refactored your patch to be more useful with the new slaptest modifications. Please test