669 |
+ |
+ |
670 |
+[Install] |
+[Install] |
671 |
+WantedBy=sme-server.target |
+WantedBy=sme-server.target |
672 |
+Alias=slapd.service |
+ |
673 |
+ |
+ |
674 |
diff -Nur e-smith-ldap-5.6.0.old/root/usr/lib/systemd/system/ldap.service e-smith-ldap-5.6.0/root/usr/lib/systemd/system/ldap.service |
diff -Nur e-smith-ldap-5.6.0.old/root/usr/lib/systemd/system/ldap.service e-smith-ldap-5.6.0/root/usr/lib/systemd/system/ldap.service |
675 |
--- e-smith-ldap-5.6.0.old/root/usr/lib/systemd/system/ldap.service 1969-12-31 19:00:00.000000000 -0500 |
--- e-smith-ldap-5.6.0.old/root/usr/lib/systemd/system/ldap.service 1969-12-31 19:00:00.000000000 -0500 |
685 |
+Documentation=file:///usr/share/doc/openldap-servers/guide.html |
+Documentation=file:///usr/share/doc/openldap-servers/guide.html |
686 |
+ |
+ |
687 |
+[Service] |
+[Service] |
688 |
+Type=forking |
+Type=simple |
689 |
+PIDFile=/var/run/openldap/slapd.pid |
+PIDFile=/var/run/openldap/slapd.pid |
690 |
+Environment="SLAPD_URLS=ldap:/// ldaps:/// ldapi:///" "SLAPD_OPTIONS=-4 -d 256 -s 0" |
+Environment="SLAPD_URLS=ldap:/// ldaps:/// ldapi:///" "SLAPD_OPTIONS=-4 -d 256 -s 0" |
691 |
+EnvironmentFile=/etc/sysconfig/slapd |
+EnvironmentFile=/etc/sysconfig/slapd |
718 |
|
|
719 |
-/var/service/ldap/ldif-fix --update |
-/var/service/ldap/ldif-fix --update |
720 |
+/sbin/e-smith/ldif-fix --update |
+/sbin/e-smith/ldif-fix --update |
721 |
|
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 |
722 |
|
--- 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 |
723 |
|
+++ e-smith-ldap-5.6.0/root/etc/e-smith/templates/etc/openldap/slapd.conf/12pid 2020-12-11 22:57:18.751000000 -0500 |
724 |
|
@@ -0,0 +1,3 @@ |
725 |
|
+ |
726 |
|
+pidfile /var/run/openldap/slapd.pid |
727 |
|
+ |