diff --git a/restart_pre.sh b/restart_pre.sh old mode 100644 new mode 100755 index b97dae3..a4bbbd9 --- a/restart_pre.sh +++ b/restart_pre.sh @@ -22,4 +22,4 @@ source /etc/profile /bin/nohup php $HomeDir/bin/hyperf.php start > $HomeDir/../hyperf_run.log 2>&1 & -echo '!!!The service restart success!!!'; \ No newline at end of file +echo '!!!The service restart success!!!'; diff --git a/restart_prod.sh b/restart_prod.sh old mode 100644 new mode 100755 index 9ae95d8..824ffc6 --- a/restart_prod.sh +++ b/restart_prod.sh @@ -18,4 +18,4 @@ fi #杀死进程并重启进程 sudo lsof -i:9501|grep -v PID|awk '{print $2}'|sudo xargs kill -9 -echo 'kill success'; \ No newline at end of file +echo 'kill success';