NIFI-3112 Revert "NIFI-2199 - allows nifi.sh restart through ssh"

This reverts commit 88d125137e.

This closes #1282.

Signed-off-by: Andy LoPresto <alopresto@apache.org>
This commit is contained in:
jpercivall 2016-11-29 18:42:17 -05:00 committed by Andy LoPresto
parent 9d6ca6e1e6
commit e3c7611347
No known key found for this signature in database
GPG Key ID: 3C6EF65B2F7DEF69
1 changed files with 1 additions and 1 deletions

View File

@ -291,7 +291,7 @@ run() {
RUN_NIFI_CMD="cd "\""${NIFI_HOME}"\"" && ${sudo_cmd_prefix} "\""${JAVA}"\"" -cp "\""${BOOTSTRAP_CLASSPATH}"\"" -Xms12m -Xmx24m ${BOOTSTRAP_DIR_PARAMS} org.apache.nifi.bootstrap.RunNiFi"
if [ "$1" = "start" ]; then
(eval $RUN_NIFI_CMD $@ &)> /dev/null 2>&1 < /dev/null
(eval $RUN_NIFI_CMD $@ &)
else
(eval $RUN_NIFI_CMD $@)
fi