feat : config
This commit is contained in:
2
restart_pre.sh
Normal file → Executable file
2
restart_pre.sh
Normal file → Executable file
@@ -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!!!';
|
||||
echo '!!!The service restart success!!!';
|
||||
|
||||
2
restart_prod.sh
Normal file → Executable file
2
restart_prod.sh
Normal file → Executable file
@@ -18,4 +18,4 @@ fi
|
||||
#杀死进程并重启进程
|
||||
sudo lsof -i:9501|grep -v PID|awk '{print $2}'|sudo xargs kill -9
|
||||
|
||||
echo 'kill success';
|
||||
echo 'kill success';
|
||||
|
||||
Reference in New Issue
Block a user