mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
Add restart script for safekeeping
git-svn-id: https://zxing.googlecode.com/svn/trunk@2347 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
88a46d0773
commit
d1b3ca2e24
10
zxingorg/restart.sh
Normal file
10
zxingorg/restart.sh
Normal file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
export CATALINA_OPTS="-server -da -dsa -Xmx80m -XX:+UseCompressedOops"
|
||||
while :
|
||||
do
|
||||
pkill -KILL java
|
||||
#/usr/local/tomcat/bin/shutdown.sh
|
||||
sleep 5
|
||||
/usr/local/tomcat/bin/startup.sh
|
||||
sleep 7200
|
||||
done
|
Loading…
Reference in a new issue