BTW awstats 7.3 currently in Debian unstable uses 'su -l -c ... www-data' in http://sources.debian.net/src/awstats/7.3%2Bdfsg-1/debian/prerotate.sh/, which is installed as /etc/logrotate.d/httpd-prerotate/awstats.
Eventually that version will be synced into Ubuntu.
BTW awstats 7.3 currently in Debian unstable uses 'su -l -c ... www-data' in http:// sources. debian. net/src/ awstats/ 7.3%2Bdfsg- 1/debian/ prerotate. sh/, which is installed as /etc/logrotate. d/httpd- prerotate/ awstats.
Eventually that version will be synced into Ubuntu.