diff options
author | Joseph Quinn | 2015-07-23 11:10:14 -0400 |
---|---|---|
committer | Joseph Quinn | 2015-07-23 11:10:14 -0400 |
commit | 5500270952f147add360940b754a58828badb285 (patch) | |
tree | 21474cffa0b27576bdd46e2ca9d922eac5b67935 /logrotate | |
download | aur-5500270952f147add360940b754a58828badb285.tar.gz |
initial commit
Diffstat (limited to 'logrotate')
-rw-r--r-- | logrotate | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/logrotate b/logrotate new file mode 100644 index 000000000000..b055bf491c8d --- /dev/null +++ b/logrotate @@ -0,0 +1,10 @@ +/var/log/nginx/*log { + missingok + create 640 http log + su http log + sharedscripts + compress + postrotate + test ! -r /run/nginx.pid || kill -USR1 `cat /run/nginx.pid` + endscript +}
\ No newline at end of file |