#!/bin/bash
#添加本地Java环境，这两句必须添加！不然报错，找不到java命令
# chkconfig: 2345 10 90
#set JAVA environment
export JAVA_HOME=/opt/jdk
export JRE_HOME=/opt/jdk/jre
export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar

nohup java -server -Xms20M -Xmx200M -jar /opt/demo-openvpn-help-jar/demo-openvpn-help-0.0.1-SNAPSHOT.jar --gmail_send_account=ovpnopenvpn@gmail.com --gmail_send_password=Asdasd123@ > 1 &

