shell
雨神之力
这个作者很懒,什么都没留下…
展开
-
nginx如何解决前后端跨域问题
nginx解决跨域问题原创 2023-03-03 11:00:56 · 3743 阅读 · 0 评论 -
Shell脚本启动jar
1.编写脚本xxx.sh#!/bin/bashPACKAGE_DIR=/home/program/invoice/JAR=invoice.jarAPP_NAME="$PACKAGE_DIR$JAR"PID=0#加载jps命令防止ssh不能使用jpssource /etc/profile;jps#检查进程idcheckpid(){ running=`jps -l | grep $APP_NAME` if [ -n "$running" ] ; then PID=`echo $原创 2021-10-21 13:10:58 · 1081 阅读 · 0 评论