diff --git a/install.sh b/install.sh index 082dc1e..c3def28 100755 --- a/install.sh +++ b/install.sh @@ -107,6 +107,7 @@ install_crust_node() local upgrade_pid=$(ps -ef | grep "/opt/crust/crust-node/scripts/upgrade.sh" | grep -v grep | awk '{print $2}') if [ x"$upgrade_pid" != x"" ]; then kill -9 $upgrade_pid + mkdir -p $installdir/logs nohup $installdir/scripts/upgrade.sh &>$installdir/logs/upgrade.log & if [ $? -ne 0 ]; then log_err "[ERROR] Start crust-sworker upgrade failed"