diff --git a/cron/hooks/log_rotate-relation-joined b/cron/hooks/log_rotate-relation-joined index 9fea7ab..99bb665 100755 --- a/cron/hooks/log_rotate-relation-joined +++ b/cron/hooks/log_rotate-relation-joined @@ -8,11 +8,6 @@ set -e LOGS=/var/log/cron -## XXXvlab: hum it seems apache logging is run as root, so well... -# logs_creds=$(cached_cmd_on_base_image apache "stat -c '%u %g' '$LOGS'") || { -# debug "Failed to query for www-data gid in ${DARKYELLOW}apache${NORMAL} base image." -# return 1 -# } ## XXXvlab: a lot of this intelligence should be moved away into ``logrotate`` charm DST="$CONFIGSTORE/$TARGET_SERVICE_NAME/etc/logrotate.d/$SERVICE_NAME"