SHELL=/bin/sh
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
#MAILTO=disk-root@yandex-team.ru

# Execute logrotate manually at fixed time rather than by means of anacron.
0 {{component_settings.get('start_hour', '1') }} * * * root /usr/sbin/logrotate /etc/logrotate.conf >/dev/null 2>&1 || /usr/bin/logger -t logrotate "ALERT exited abnormally with [$?]" 
