mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +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"
|
#define LDAP_ENV_PREFIX "LDAP"
|
||||||
|
|
||||||
/* default ldapi:// socket */
|
/* 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
|
* SLAPD DEFINITIONS
|
||||||
|
@ -343,7 +343,7 @@ install-local-srv: install-slapd install-conf install-schema install-tools
|
|||||||
|
|
||||||
install-slapd: FORCE
|
install-slapd: FORCE
|
||||||
-$(MKDIR) $(DESTDIR)$(libexecdir)
|
-$(MKDIR) $(DESTDIR)$(libexecdir)
|
||||||
-$(MKDIR) $(DESTDIR)$(localstatedir)
|
-$(MKDIR) $(DESTDIR)$(localstatedir)/run/openldap
|
||||||
$(LTINSTALL) $(INSTALLFLAGS) -s -m 755 \
|
$(LTINSTALL) $(INSTALLFLAGS) -s -m 755 \
|
||||||
slapd$(EXEEXT) $(DESTDIR)$(libexecdir)
|
slapd$(EXEEXT) $(DESTDIR)$(libexecdir)
|
||||||
@for i in $(SUBDIRS); do \
|
@for i in $(SUBDIRS); do \
|
||||||
|
@ -10,8 +10,8 @@ include %SYSCONFDIR%/schema/core.schema
|
|||||||
# service AND an understanding of referrals.
|
# service AND an understanding of referrals.
|
||||||
#referral ldap://root.openldap.org
|
#referral ldap://root.openldap.org
|
||||||
|
|
||||||
pidfile %LOCALSTATEDIR%/slapd.pid
|
pidfile %LOCALSTATEDIR%/run/slapd.pid
|
||||||
argsfile %LOCALSTATEDIR%/slapd.args
|
argsfile %LOCALSTATEDIR%/run/slapd.args
|
||||||
|
|
||||||
# Load dynamic backend modules:
|
# Load dynamic backend modules:
|
||||||
# modulepath %MODULEDIR%
|
# modulepath %MODULEDIR%
|
||||||
|
Loading…
Reference in New Issue
Block a user