From: Kurt Zeilenga Date: Sun, 24 Jan 1999 21:20:00 +0000 (+0000) Subject: Add pidfile/argsfile options to default slapd.conf. X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~702 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b83ae3b434bd5cfbefdf291f9abf527430156a17;p=openldap Add pidfile/argsfile options to default slapd.conf. --- diff --git a/servers/slapd/Makefile.in b/servers/slapd/Makefile.in index 5f058307ac..1c4104df15 100644 --- a/servers/slapd/Makefile.in +++ b/servers/slapd/Makefile.in @@ -122,7 +122,9 @@ install-conf: FORCE else \ mode=644 ; \ fi ; \ - $(SED) -e 's;%SYSCONFDIR%;$(sysconfdir);' $(srcdir)/$$i > $$tmpcf ; \ + $(SED) -e 's;%SYSCONFDIR%;$(sysconfdir);' \ + -e 's;%LOCALSTATEDIR%;$(localstatedir);' \ + $(srcdir)/$$i > $$tmpcf ; \ if test ! -f $(sysconfdir)/$$i; then \ echo "installing $$i in $(sysconfdir)"; \ echo "$(INSTALL) $(INSTALLFLAGS) -m $$mode $$tmpcf $(sysconfdir)/$$i"; \ diff --git a/servers/slapd/slapd.conf b/servers/slapd/slapd.conf index 80e121d300..006b95288f 100644 --- a/servers/slapd/slapd.conf +++ b/servers/slapd/slapd.conf @@ -7,6 +7,9 @@ include %SYSCONFDIR%/slapd.oc.conf schemacheck off referral ldap://ldap.itd.umich.edu +pidfile %LOCALSTATEDIR%/slapd.pid +argsfile %LOCALSTATEDIR%/slapd.args + ####################################################################### # ldbm database definitions ####################################################################### @@ -20,3 +23,5 @@ rootdn "cn=root, dc=your-domain, dc=com" rootpw secret # cleartext passwords, especially for the rootdn, should # be avoid. See slapd.conf(5) for details. + +