pid file: small compile fixes + rclmon.sh stop now works

This commit is contained in:
Jean-Francois Dockes 2011-01-08 19:35:05 +01:00
parent b93e6c9985
commit 5fb98cd022
3 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@
################### ###################
# Start/stop a recollindex program running as permanent real time indexer. # 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. # The portability of this script has not been fully tested.
# #
@ -40,7 +40,7 @@ export LANG=C
RECOLL_CONFDIR=${RECOLL_CONFDIR:-$HOME/.recoll} RECOLL_CONFDIR=${RECOLL_CONFDIR:-$HOME/.recoll}
#echo RECOLL_CONFDIR = ${RECOLL_CONFDIR} #echo RECOLL_CONFDIR = ${RECOLL_CONFDIR}
pidfile="${RECOLL_CONFDIR}/rclmonpid" pidfile="${RECOLL_CONFDIR}/index.pid"
opid=0 opid=0

View File

@ -50,7 +50,7 @@ trmd5.o : md5.cpp md5.h
PATHUT_OBJS= trpathut.o $(BIGLIB) PATHUT_OBJS= trpathut.o $(BIGLIB)
trpathut : $(PATHUT_OBJS) 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 trpathut.o : pathut.cpp pathut.h
$(CXX) -o trpathut.o -c $(ALL_CXXFLAGS) -DTEST_PATHUT pathut.cpp $(CXX) -o trpathut.o -c $(ALL_CXXFLAGS) -DTEST_PATHUT pathut.cpp

View File

@ -548,7 +548,7 @@ int Pidfile::remove()
} }
#else // TEST_PATHUT #else // TEST_PATHUT
#include <stdlib.h>
#include <iostream> #include <iostream>
using namespace std; using namespace std;