--- rpms/e-smith-ldap/sme10/e-smith-ldap-5.6.0-bz11140-bz11099-bz11096-systemd-update.patch 2020/12/12 03:39:47 1.3 +++ rpms/e-smith-ldap/sme10/e-smith-ldap-5.6.0-bz11140-bz11099-bz11096-systemd-update.patch 2020/12/12 03:58:52 1.4 @@ -685,7 +685,7 @@ diff -Nur e-smith-ldap-5.6.0.old/root/us +Documentation=file:///usr/share/doc/openldap-servers/guide.html + +[Service] -+Type=forking ++Type=simple +PIDFile=/var/run/openldap/slapd.pid +Environment="SLAPD_URLS=ldap:/// ldaps:/// ldapi:///" "SLAPD_OPTIONS=-4 -d 256 -s 0" +EnvironmentFile=/etc/sysconfig/slapd @@ -718,3 +718,10 @@ diff -Nur e-smith-ldap-5.6.0.old/root/et -/var/service/ldap/ldif-fix --update +/sbin/e-smith/ldif-fix --update +diff -Nur e-smith-ldap-5.6.0.old/root/etc/e-smith/templates/etc/openldap/slapd.conf/12pid e-smith-ldap-5.6.0/root/etc/e-smith/templates/etc/openldap/slapd.conf/12pid +--- e-smith-ldap-5.6.0.old/root/etc/e-smith/templates/etc/openldap/slapd.conf/12pid 1969-12-31 19:00:00.000000000 -0500 ++++ e-smith-ldap-5.6.0/root/etc/e-smith/templates/etc/openldap/slapd.conf/12pid 2020-12-11 22:57:18.751000000 -0500 +@@ -0,0 +1,3 @@ ++ ++pidfile /var/run/openldap/slapd.pid ++