提交 7b1a9d2b 编写于 作者: J Jason Song

add executable permission

上级 1e6c147a
......@@ -8,5 +8,6 @@ if [[ ! -f $SERVICE_NAME".jar" && -d current ]]; then
fi
if [[ -f $SERVICE_NAME".jar" ]]; then
chmod a+x $SERVICE_NAME".jar"
./$SERVICE_NAME".jar" stop
fi
......@@ -14,6 +14,7 @@ if [[ -f $SERVICE_NAME".jar" ]]; then
fi
ln $PATH_TO_JAR $SERVICE_NAME".jar"
chmod a+x $SERVICE_NAME".jar"
./$SERVICE_NAME".jar" start
exit 0;
......@@ -8,5 +8,6 @@ if [[ ! -f $SERVICE_NAME".jar" && -d current ]]; then
fi
if [[ -f $SERVICE_NAME".jar" ]]; then
chmod a+x $SERVICE_NAME".jar"
./$SERVICE_NAME".jar" stop
fi
......@@ -14,6 +14,7 @@ if [[ -f $SERVICE_NAME".jar" ]]; then
fi
ln $PATH_TO_JAR $SERVICE_NAME".jar"
chmod a+x $SERVICE_NAME".jar"
./$SERVICE_NAME".jar" start
exit 0;
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册