server reload sh

This commit is contained in:
caoqianming 2022-02-25 09:31:36 +08:00
parent 5dd7089dae
commit 7c97455335
2 changed files with 5 additions and 1 deletions

View File

@ -2,6 +2,6 @@
ENV = 'production'
# base api
VUE_APP_BASE_API = 'http://47.95.0.242:2222/api'
VUE_APP_BASE_API = 'http://49.232.14.174:2222/api'
#VUE_APP_BASE_API = 'http://127.0.0.1:8000/api'

4
server_reload.sh Normal file
View File

@ -0,0 +1,4 @@
#!/bin/bash
cd /home/lighthouse/hberp
exec sudo git pull
exec sudo service supervisor reload