mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-01 14:15:49 +08:00
Move pid/args files into $(RUNDIR)/run
Move ldapi into $(RUNDIR)/run/openldap
This commit is contained in:
parent
fa20839617
commit
fdbd8705ae
@ -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
|
||||
|
@ -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 \
|
||||
|
@ -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%
|
||||
|
Loading…
Reference in New Issue
Block a user