parent
9277a5a222
commit
b1dcb93350
@ -1,8 +0,0 @@
|
||||
package com.dsideal.Const;
|
||||
|
||||
public class OsSystemConst {
|
||||
//操作系统WINDOWS
|
||||
public static int WINDOWS=1;
|
||||
//操作系统CENTOS
|
||||
public static int CENTOS=2;
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,16 +0,0 @@
|
||||
# 数据库信息
|
||||
driverClassName=org.postgresql.Driver
|
||||
user = postgres
|
||||
password =DsideaL147258369
|
||||
jdbcUrl = jdbc:postgresql://10.10.14.71:5432/szjz_db
|
||||
|
||||
redis_ip=10.10.14.14
|
||||
redis_port=18890
|
||||
# 接入系统的REDIS缓存主键键值
|
||||
SYS_JRXT = SYS_JRXT
|
||||
|
||||
# SSO的SessionId名称
|
||||
sso.sessionid=ds_sso_sessionid
|
||||
|
||||
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,7 +0,0 @@
|
||||
send_api = http://api.sendcloud.net/apiv2/mail/send
|
||||
send_template_api = http://api.sendcloud.net/apiv2/mail/sendtemplate
|
||||
send_sms_api = http://www.sendcloud.net/smsapi/send
|
||||
send_voice_api = http://www.sendcloud.net/smsapi/sendVoice
|
||||
api_user = dsideal
|
||||
api_key = 3Q1pvn43iqt9S6ng
|
||||
|
@ -1,19 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# 启动入口类,该脚本文件用于别的项目时要改这里
|
||||
MAIN_CLASS=com.wanma.Start
|
||||
|
||||
# Java 命令行参数,根据需要开启下面的配置,改成自己需要的,注意等号前后不能有空格
|
||||
export JAVA_HOME=/usr/java/jdk
|
||||
export JRE_HOME=${JAVA_HOME}/jre
|
||||
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
|
||||
export PATH=${JAVA_HOME}/bin:$PATH
|
||||
|
||||
JAVA_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,suspend=n,server=y,address=5555 -Xms1024m -Xmx2048m"
|
||||
|
||||
# 生成 class path 值
|
||||
CP=.:/usr/local/tomcat8/webapps/dsssoserver/WEB-INF/lib/*
|
||||
|
||||
# 运行为后台进程,并且将信息输出到 logback.xml配置的日志文件位置
|
||||
#nohup java -Xverify:none ${JAVA_OPTS} -cp ${CP} ${MAIN_CLASS} >> /dev/null 2>&1 &
|
||||
java -Xverify:none ${JAVA_OPTS} -cp ${CP} ${MAIN_CLASS}
|
@ -1,7 +0,0 @@
|
||||
###### ###### #######
|
||||
## ## ## ## ## ##
|
||||
## ## ## ##
|
||||
###### ###### ## ##
|
||||
## ## ## ##
|
||||
## ## ## ## ## ##
|
||||
###### ###### #######
|
@ -1,18 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# 启动入口类,该脚本文件用于别的项目时要改这里
|
||||
MAIN_CLASS=com.wanma.Start
|
||||
|
||||
# Java 命令行参数,根据需要开启下面的配置,改成自己需要的,注意等号前后不能有空格
|
||||
export JAVA_HOME=/usr/java/jdk
|
||||
export JRE_HOME=${JAVA_HOME}/jre
|
||||
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
|
||||
export PATH=${JAVA_HOME}/bin:$PATH
|
||||
JAVA_OPTS="-Xms1024m -Xmx2048m"
|
||||
|
||||
# 生成 class path 值
|
||||
CP=.:/usr/local/tomcat8/webapps/dsssoserver/WEB-INF/lib/*
|
||||
|
||||
# 运行为后台进程,并且将信息输出到 output.log 文件
|
||||
nohup java -Xverify:none ${JAVA_OPTS} -cp ${CP} ${MAIN_CLASS} >> /dev/null 2>&1 &
|
||||
|
@ -1,10 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# 启动入口类,该脚本文件用于别的项目时要改这里
|
||||
MAIN_CLASS=com.wanma.Start
|
||||
|
||||
# kill 命令不使用 -9 参数时,会回调 onStop() 方法,确定不需要此回调建议使用 -9 参数
|
||||
kill -9 `pgrep -f ${MAIN_CLASS}` 2>/dev/null
|
||||
|
||||
# 以下代码与上述代码等价
|
||||
# kill $(pgrep -f ${MAIN_CLASS}) 2>/dev/null
|
Loading…
Reference in new issue