Move default slurpd directory to $(LOCALSTATEDIR)/openldap-slurp.

This commit is contained in:
Kurt Zeilenga 2000-08-10 02:52:01 +00:00
parent 38135c8fa4
commit 27ebe8534a
3 changed files with 4 additions and 3 deletions

View file

@ -109,7 +109,7 @@ processes a replication log and exits.
copies the replication log to a working directory before processing it.
This option allows you to specify the location of these temporary files.
The default is
.BR /usr/tmp .
.BR LOCALSTATEDIR/openldap-slurp .
.TP
.BI \-k " srvtab\-file"
Specify the location of the kerberos srvtab file which contains keys

View file

@ -45,6 +45,7 @@ version.c: $(OBJS) $(LDAP_LIBDEPEND) $(LDAP_LIBTHREAD_DEPEND)
install-local-srv: FORCE
-$(MKDIR) $(DESTDIR)$(libexecdir)
-$(MKDIR) $(DESTDIR)$(localstatedir)/openldap-slurp
@( \
for prg in $(PROGRAMS); do \
$(LTINSTALL) $(INSTALLFLAGS) -s -m 755 $$prg$(EXEEXT) \

View file

@ -40,7 +40,7 @@
/* Default directory for slurpd's private copy of replication logs */
#define DEFAULT_SLURPD_REPLICA_DIR "/usr/tmp"
#define DEFAULT_SLURPD_REPLICA_DIR LDAP_RUNDIR LDAP_DIRSEP "openldap-slurp"
/* Default name for slurpd's private copy of the replication log */
#define DEFAULT_SLURPD_REPLOGFILE "slurpd.replog"
@ -49,7 +49,7 @@
#define DEFAULT_SLURPD_STATUS_FILE "slurpd.status"
/* slurpd dump file - contents of rq struct are written here (debugging) */
#define SLURPD_DUMPFILE "/tmp/slurpd.dump"
#define SLURPD_DUMPFILE LDAP_TMPDIR LDAP_DIRSEP "slurpd.dump"
/* default srvtab file. Can be overridden */
#define SRVTAB "/etc/srvtab"