mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-12 12:33:18 +00:00
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:
@@ -37,7 +37,7 @@ if [ "$JAVA_OPTS" = "" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Remove lock file, in case the old Handle server did not shut down properly
|
# 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.
|
# Start the Handle server, with a special log4j properties file.
|
||||||
# We cannot simply write to the same logs, since log4j
|
# We cannot simply write to the same logs, since log4j
|
||||||
|
Reference in New Issue
Block a user