diff --git a/startstop.build.sh b/startstop.build.sh index ac7a39f..52f8518 100755 --- a/startstop.build.sh +++ b/startstop.build.sh @@ -30,9 +30,9 @@ function pwait() { #### nginx #### srv_nginx_start() { + trap rm_pidfiles EXIT nginx -t srv_granian_waitup - trap rm_pidfiles EXIT nginx -g 'daemon off;' }