diff options
Diffstat (limited to 'main/nginx/nginx.logrotate')
-rw-r--r-- | main/nginx/nginx.logrotate | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/nginx/nginx.logrotate b/main/nginx/nginx.logrotate index 7778b1108b..00e5a94eb5 100644 --- a/main/nginx/nginx.logrotate +++ b/main/nginx/nginx.logrotate @@ -6,7 +6,7 @@ missingok sharedscripts postrotate - kill -USR1 `cat /var/run/nginx.pid` + test -r /var/run/nginx.pid && kill -USR1 `cat /var/run/nginx.pid` endscript } |