From 24ca3b7d4798809fca4128f5ed181e0ba6677d14 Mon Sep 17 00:00:00 2001 From: Bertrand Gouny Date: Mon, 31 Jul 2017 15:29:24 +0200 Subject: [PATCH] chmod 444 logrotate config files --- CHANGELOG.md | 4 ++++ image/service-available/:logrotate/startup.sh | 2 ++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b9835b0..fe4e41c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +# 1.1.1 + - chmod 444 logrotate config files + - fix jsonssl-helper get traefik ca certificate on alpine + # 1.1.0 - Use debian stretch-slim as baseimage diff --git a/image/service-available/:logrotate/startup.sh b/image/service-available/:logrotate/startup.sh index e056dd1e..fc1ead50 100755 --- a/image/service-available/:logrotate/startup.sh +++ b/image/service-available/:logrotate/startup.sh @@ -3,4 +3,6 @@ log-helper level eq trace && set -x ln -sf ${CONTAINER_SERVICE_DIR}/:logrotate/assets/config/logrotate.conf /etc/logrotate.conf ln -sf ${CONTAINER_SERVICE_DIR}/:logrotate/assets/config/logrotate_syslogng /etc/logrotate.d/syslog-ng +chmod 444 -R ${CONTAINER_SERVICE_DIR}/:logrotate/assets/config/* + exit 0