#!/bin/bash ## Should be executable N time in a row with same result. . lib/common set -e LOGS=/var/log/cron ## XXXvlab: a lot of this intelligence should be moved away into ``logrotate`` charm DST="$CONFIGSTORE/$TARGET_SERVICE_NAME/etc/logrotate.d/$SERVICE_NAME" file_put "$DST" <