diff --git a/setup-scripts/support/logrotate b/setup-scripts/support/logrotate deleted file mode 100644 index 81c7e40f..00000000 --- a/setup-scripts/support/logrotate +++ /dev/null @@ -1,13 +0,0 @@ -/home/user/skynet-webportal/docker/data/nginx/logs/*.log { - hourly - dateext - rotate 3650 - missingok - notifempty - nocompress - create 640 root root - sharedscripts - postrotate - docker exec nginx sh -c '! test -f /usr/local/openresty/nginx/logs/nginx.pid' || docker exec nginx sh -c 'kill -USR1 $(cat /usr/local/openresty/nginx/logs/nginx.pid)' - endscript -} \ No newline at end of file