Skip to content

Commit

Permalink
Merge pull request #6 from boekkooi/patch-2
Browse files Browse the repository at this point in the history
Avoid adding invalid role when standalone
  • Loading branch information
bcoca committed Oct 27, 2015
2 parents e80f373 + 31983ff commit b35dda6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/init.j2
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ start)
fi
install -o ${SE_USER} -g ${SE_GROUP} -d ${JVM_TMP}

if [ ! -z "${ROLE}" ]; then
if [ ! -z "${ROLE}" ] && [ "${ROLE}" != "standalone" ]; then
JAR_ARGS="-role ${ROLE}"
fi
if [ ! -z "${HUB}" ]; then
Expand Down

0 comments on commit b35dda6

Please sign in to comment.