mirror of https://github.com/apache/nifi.git
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:
parent
9d6ca6e1e6
commit
e3c7611347
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue