diff options
author | CoprDistGit <infra@openeuler.org> | 2024-07-05 13:43:04 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-07-05 13:43:04 +0000 |
commit | b9b5f8d9bd86e3e93da1b53e28f7188afe417774 (patch) | |
tree | 2edc910c2787f804c5d3bb1f23149c7d128264c4 /nginx.logrotate | |
parent | 7fed8a26b331c9d92c55722a5c49af7fc72f8577 (diff) |
automatic import of nginx
Diffstat (limited to 'nginx.logrotate')
-rw-r--r-- | nginx.logrotate | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/nginx.logrotate b/nginx.logrotate new file mode 100644 index 0000000..353da6e --- /dev/null +++ b/nginx.logrotate @@ -0,0 +1,13 @@ +/var/log/nginx/*log { + create 0664 nginx root + daily + rotate 10 + missingok + notifempty + compress + sharedscripts + postrotate + /bin/kill -USR1 `cat /run/nginx.pid 2>/dev/null` 2>/dev/null || true + endscript +} + |