update
This commit is contained in:
		| @@ -47,7 +47,7 @@ function SideCar { | ||||
|     local day= last_day=$(date +%d) | ||||
|     local md5= last_md5=$(find /etc/nginx/ -type f -name "*.conf" \ | ||||
|         | xargs -I ^ md5sum ^ | md5sum) | ||||
|     while sleep 10; do | ||||
|     while sleep 8; do | ||||
|         day=$(date +%d) \ | ||||
|             && [ "$day" != "$last_day" ] \ | ||||
|             && last_day=$day \ | ||||
| @@ -79,7 +79,7 @@ function Main { | ||||
|     ChangeOwner | ||||
|     StartProc | ||||
|     trap "GOT_SIGTERM=1; Print Got SIGTERM ..." SIGTERM | ||||
|     while [ -z "$GOT_SIGTERM" ] && sleep 1; do | ||||
|     while [ -z "$GOT_SIGTERM" ] && sleep 2; do | ||||
|         for pid in $PIDS; do | ||||
|             [ ! -e /proc/$pid ] && Print Unexpected error! && exit | ||||
|         done | ||||
|   | ||||
		Reference in New Issue
	
	Block a user