From 9a796804cdee2f7f082d586fcf62d8a39296bcac Mon Sep 17 00:00:00 2001 From: Jan Synacek Date: Jan 21 2015 13:12:31 +0000 Subject: remove pid file and args file We have systemd for that. --- diff --git a/openldap.spec b/openldap.spec index 830e673..4c201e9 100644 --- a/openldap.spec +++ b/openldap.spec @@ -550,6 +550,7 @@ exit 0 - remove openldap-syncrepl-unset-tls-options.patch - remove unneeded configure flags, disable sql backend and aci - make mdb default after a new installation +- remove pid file and args file * Wed Dec 17 2014 Jan Synáček - 2.4.40-5 - harden the build diff --git a/slapd.ldif b/slapd.ldif index 028c5f1..abb6209 100644 --- a/slapd.ldif +++ b/slapd.ldif @@ -6,8 +6,7 @@ dn: cn=config objectClass: olcGlobal cn: config -olcArgsFile: /var/run/openldap/slapd.args -olcPidFile: /var/run/openldap/slapd.pid + # # TLS settings # diff --git a/slapd.service b/slapd.service index 982d610..eb0a580 100644 --- a/slapd.service +++ b/slapd.service @@ -9,7 +9,6 @@ Documentation=file:///usr/share/doc/openldap-servers/guide.html [Service] Type=forking -PIDFile=/var/run/openldap/slapd.pid ExecStartPre=/usr/libexec/openldap/check-config.sh ExecStart=/usr/sbin/slapd -u ldap -h "ldap:/// ldaps:/// ldapi:///"