Commit 307f17e0 by Jason Song

Merge pull request #164 from nobodyiam/cd-portal-script

add executable permission
parents 1e6c147a 7b1a9d2b
......@@ -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