From 68a715e76dac5ee500b7b124afeb2a8c0c752314 Mon Sep 17 00:00:00 2001 From: Jamie Nguyen Date: Fri, 3 Jul 2015 13:35:51 +0100 Subject: [PATCH] Switch back to /bin/kill due to SELinux denials --- nginx.logrotate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx.logrotate b/nginx.logrotate index 454377a..cffa62e 100644 --- a/nginx.logrotate +++ b/nginx.logrotate @@ -7,7 +7,7 @@ compress sharedscripts postrotate - /usr/bin/systemctl kill --signal=SIGUSR1 --kill-who=main nginx.service 2>/dev/null || true + /bin/kill -USR1 `cat /run/nginx.pid 2>/dev/null` 2>/dev/null || true endscript }