remove pid file and args file

We have systemd for that.
This commit is contained in:
Jan Synacek 2015-01-21 14:12:31 +01:00
parent b724454515
commit 9a796804cd
3 changed files with 2 additions and 3 deletions

View File

@ -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 <jsynacek@redhat.com> - 2.4.40-5
- harden the build

View File

@ -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
#

View File

@ -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:///"