aboutsummaryrefslogtreecommitdiffstats
path: root/main/nginx-lua/nginx.logrotate
diff options
context:
space:
mode:
authorBryan Murphy <bmurphy1976@gmail.com>2015-06-03 20:34:09 -0500
committerFrancesco Colista <fcolista@alpinelinux.org>2015-06-09 13:20:57 +0000
commitcc9cbeb32504957cf0e2054a00cd5dbd3c6a19c6 (patch)
tree486d0fabf4eaca4f8883ad8f21ac16dba6cf0630 /main/nginx-lua/nginx.logrotate
parentc418d94bb53326a2fd2618663c7166b01d874cbd (diff)
downloadaports-cc9cbeb32504957cf0e2054a00cd5dbd3c6a19c6.tar.bz2
aports-cc9cbeb32504957cf0e2054a00cd5dbd3c6a19c6.tar.xz
main/nginx-lua: upgrade to 1.8.0 and unify modules with main/nginx
Diffstat (limited to 'main/nginx-lua/nginx.logrotate')
-rw-r--r--main/nginx-lua/nginx.logrotate2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/nginx-lua/nginx.logrotate b/main/nginx-lua/nginx.logrotate
index 7778b1108b..00e5a94eb5 100644
--- a/main/nginx-lua/nginx.logrotate
+++ b/main/nginx-lua/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
}