Update start-handle-server

start-handle-server will not start if handle-server terminated abnormally (including system restart). Case error in the line to remove stale lock file.
This commit is contained in:
Rob Jenson
2020-08-14 06:05:17 -04:00
committed by GitHub
parent d1ee942bd4
commit c7ecfdbc7b

View File

@@ -37,7 +37,7 @@ if [ "$JAVA_OPTS" = "" ]; then
fi
# Remove lock file, in case the old Handle server did not shut down properly
rm -f $handledir/txns/lock
rm -f $HANDLEDIR/txns/lock
# Start the Handle server, with a special log4j properties file.
# We cannot simply write to the same logs, since log4j