/home/hackweek/hackweek/shared/log/*.log {
    compress
    dateext
    maxage 31
    rotate 99
    size=+4096k
    missingok
    notifempty
    create 644 hackweek users
    postrotate
      /usr/bin/touch /home/hackweek/hackweek/current/tmp/restart.txt
      systemctl reload apache2.service
      systemctl restart hackweek-sphinx.service
      sleep 60
    endscript
}
