1 Star 0 Fork 0

user_354398 / mosquito-blog

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
start.sh 486 Bytes
一键复制 编辑 原始数据 按行查看 历史
xjpz 提交于 2016-06-30 14:06 . init
#!/bin/bash
appName=mosquito-blog
appPort=9000
appPath=`pwd`
pidFilePath=${appPath}/target/universal/${appName}-1.0/RUNNING_PID
if [ -f "${pidFilePath}" ]; then
cd ${appPath}/target/universal/${appName}-1.0
pid=`cat RUNNING_PID`;
kill -9 ${pid}
rm -rf RUNNING_PID
fi
cd ${appPath}
./activator clean
./activator dist
cd ${appPath}/target/universal
unzip ${appName}-1.0.zip
cd ${appPath}/target/universal/${appName}-1.0/bin
./${appName} -Dapplication.secret="xjpz...123" &
Scala
1
https://gitee.com/xjpz/mosquito-blog.git
git@gitee.com:xjpz/mosquito-blog.git
xjpz
mosquito-blog
mosquito-blog
master

搜索帮助