aboutsummaryrefslogtreecommitdiff
path: root/network/nginx/nginx.logrotate
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2012-09-12 16:20:51 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-09-12 18:04:36 -0500
commitad4431d8e70dfe5afe046aa75153547492e2ac49 (patch)
treeab8bf6b3dbea9bfa914d55a0598badaa97cc607a /network/nginx/nginx.logrotate
parent3fbf4b44f8348af1b08e11ae1133bd2e5a068ef6 (diff)
network/nginx: Fixed logrotate script (added "su" directive)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/nginx/nginx.logrotate')
-rw-r--r--network/nginx/nginx.logrotate1
1 files changed, 1 insertions, 0 deletions
diff --git a/network/nginx/nginx.logrotate b/network/nginx/nginx.logrotate
index d4eb96a935d1b..626cebddba20e 100644
--- a/network/nginx/nginx.logrotate
+++ b/network/nginx/nginx.logrotate
@@ -1,4 +1,5 @@
/var/log/nginx/*.log {
+ su @USER@ @GROUP@
rotate 10
notifempty
size=5M