pid file: small compile fixes + rclmon.sh stop now works
This commit is contained in:
parent
b93e6c9985
commit
5fb98cd022
@ -19,7 +19,7 @@
|
||||
|
||||
###################
|
||||
# Start/stop a recollindex program running as permanent real time indexer.
|
||||
# The running program writes its pid in $RECOLL_CONFDIR/rclmonpid
|
||||
# The running program writes its pid in $RECOLL_CONFDIR/index.pid
|
||||
# The portability of this script has not been fully tested.
|
||||
#
|
||||
|
||||
@ -40,7 +40,7 @@ export LANG=C
|
||||
RECOLL_CONFDIR=${RECOLL_CONFDIR:-$HOME/.recoll}
|
||||
#echo RECOLL_CONFDIR = ${RECOLL_CONFDIR}
|
||||
|
||||
pidfile="${RECOLL_CONFDIR}/rclmonpid"
|
||||
pidfile="${RECOLL_CONFDIR}/index.pid"
|
||||
opid=0
|
||||
|
||||
|
||||
|
||||
@ -50,7 +50,7 @@ trmd5.o : md5.cpp md5.h
|
||||
|
||||
PATHUT_OBJS= trpathut.o $(BIGLIB)
|
||||
trpathut : $(PATHUT_OBJS)
|
||||
$(CXX) $(ALL_CXXFLAGS) -o trpathut $(PATHUT_OBJS) $(LIBICONV)
|
||||
$(CXX) $(ALL_CXXFLAGS) -o trpathut $(PATHUT_OBJS) $(LIBICONV) $(LIBSYS)
|
||||
trpathut.o : pathut.cpp pathut.h
|
||||
$(CXX) -o trpathut.o -c $(ALL_CXXFLAGS) -DTEST_PATHUT pathut.cpp
|
||||
|
||||
|
||||
@ -548,7 +548,7 @@ int Pidfile::remove()
|
||||
}
|
||||
|
||||
#else // TEST_PATHUT
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user