zxing/zxingorg/restart.sh
srowen b58a3e3c1d Add server.xml too for safekeeping
git-svn-id: https://zxing.googlecode.com/svn/trunk@2348 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-07-09 13:46:21 +00:00

10 lines
219 B
Bash

#!/bin/bash
export CATALINA_OPTS="-server -da -dsa -Xmx80m"
while :
do
pkill -KILL java
#/usr/local/tomcat/bin/shutdown.sh
sleep 5
/usr/local/tomcat/bin/startup.sh
sleep 7200
done