#!/bin/sh # logrotate_cmd=/usr/sbin/logrotate if [ ! -x $logrotate_cmd ]; then exit 0 fi $logrotate_cmd /etc/logrotate.conf