> I think I need heelp, here is my logrotate file
> /var/log/uwsgi.log {
>      daily
>      rotate 10
>      missingok
>      notifempty
>      compress
>      sharedscripts
>      postrotate
>        [ ! -f /var/run/uwsgi.pid ] || kill -HUP `cat /var/run/uwsgi.pid`
>      endscript
> }
>
> when it finishes new file exists, and any logging any more.
>
>

be sure to start uwsgi with --log-reopen option, otherwise
stdin/stdout/stderr will be maintained. Your script looks good
-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to