Commit 7b1a9d2b by Jason Song

add executable permission

parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment