From f6f5ab86bd7bd9b2a8638d2dab41093bed7f7572 Mon Sep 17 00:00:00 2001 From: ctexthuang Date: Wed, 6 Nov 2024 11:10:48 +0800 Subject: [PATCH] feat : config --- restart_pre.sh | 2 +- restart_prod.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 restart_pre.sh mode change 100644 => 100755 restart_prod.sh 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';