[ https://issues.apache.org/jira/browse/NIFI-8229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joey Frazee updated NIFI-8229: ------------------------------ Description: Copying from https://github.com/apache/nifi/pull/4814#issuecomment-776138163 --wait-for-init doesn't apply to nifi.sh restart because the $@ isn't provided to the start. The naive change would be this: {code} restart) init shift run "stop" run "start" "$@" ;; {code} I'm not 100% sure whether that's correct though because in run() there's some use of $1 and the shift changes $@. was: Copying from https://github.com/apache/nifi/pull/4814#issuecomment-776138163 --wait-for-init doesn't apply to nifi.sh restart because the $@ isn't provided to the start. The naive change would be this: {code} restart) init shift run "stop" run "start" "$@" ;; {code} I'm not 100% sure whether that's correct though because in run() there's some use of $1 and the shift changes $@. Should we change this now, or do it later? > Add support for --wait-for-init to nifi.sh restart > -------------------------------------------------- > > Key: NIFI-8229 > URL: https://issues.apache.org/jira/browse/NIFI-8229 > Project: Apache NiFi > Issue Type: Improvement > Components: Core Framework > Affects Versions: 1.13.0 > Reporter: Joey Frazee > Priority: Major > > Copying from https://github.com/apache/nifi/pull/4814#issuecomment-776138163 > --wait-for-init doesn't apply to nifi.sh restart because the $@ isn't > provided to the start. The naive change would be this: > {code} > restart) > init > > shift > run "stop" > run "start" "$@" > ;; > {code} > I'm not 100% sure whether that's correct though because in run() there's some > use of $1 and the shift changes $@. -- This message was sent by Atlassian Jira (v8.3.4#803005)