Skip to content
Snippets Groups Projects
Commit 940ec583 authored by brinn's avatar brinn
Browse files

change: leave it to Datamover to remove the PIDFILE, better to accept state...

change: leave it to Datamover to remove the PIDFILE, better to accept state STALE than to be to eager to clean up PIDFILEs of Datamovers still running

SVN: 7467
parent d607597b
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@ rotateLogFiles()
echo "Error: rotateLogFiles: max argument missing"
return 1
fi
test -f $logfile.$max && rm -f $logfile.$max
test -f $logfile.$max && rm $logfile.$max
n=$max
while [ $n -gt 1 ]; do
nnew=$(($n-1))
......@@ -202,7 +202,6 @@ case "$command" in
echo "(pid $PID)"
fi
else
test -e $PIDFILE && rm -f $PIDFILE 2> /dev/null
echo "FAILED"
echo "startup log says:"
cat $STARTUPLOG
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment