Move pid/args files into $(RUNDIR)/run

Move ldapi into $(RUNDIR)/run/openldap
This commit is contained in:
Kurt Zeilenga 2003-12-19 02:18:29 +00:00
parent fa20839617
commit fdbd8705ae
3 changed files with 5 additions and 4 deletions

View File

@ -39,7 +39,8 @@
#define LDAP_ENV_PREFIX "LDAP"
/* default ldapi:// socket */
#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "ldapi"
#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" \
LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"
/*
* SLAPD DEFINITIONS

View File

@ -343,7 +343,7 @@ install-local-srv: install-slapd install-conf install-schema install-tools
install-slapd: FORCE
-$(MKDIR) $(DESTDIR)$(libexecdir)
-$(MKDIR) $(DESTDIR)$(localstatedir)
-$(MKDIR) $(DESTDIR)$(localstatedir)/run/openldap
$(LTINSTALL) $(INSTALLFLAGS) -s -m 755 \
slapd$(EXEEXT) $(DESTDIR)$(libexecdir)
@for i in $(SUBDIRS); do \

View File

@ -10,8 +10,8 @@ include %SYSCONFDIR%/schema/core.schema
# service AND an understanding of referrals.
#referral ldap://root.openldap.org
pidfile %LOCALSTATEDIR%/slapd.pid
argsfile %LOCALSTATEDIR%/slapd.args
pidfile %LOCALSTATEDIR%/run/slapd.pid
argsfile %LOCALSTATEDIR%/run/slapd.args
# Load dynamic backend modules:
# modulepath %MODULEDIR%