mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 21:34:12 -07:00
v-restart-proxy sleep 1
This commit is contained in:
parent
04e3413590
commit
b329be0352
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ fi
|
||||||
# background restart
|
# background restart
|
||||||
if [ "$1" = 'background' ]; then
|
if [ "$1" = 'background' ]; then
|
||||||
# Restart system
|
# Restart system
|
||||||
sleep 300
|
sleep 1
|
||||||
rm /tmp/restart-nginx
|
rm /tmp/restart-nginx
|
||||||
service $PROXY_SYSTEM restart >/dev/null 2>&1
|
service $PROXY_SYSTEM restart >/dev/null 2>&1
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue