diff --git a/main.tf b/main.tf index e45af66..9e0e404 100644 --- a/main.tf +++ b/main.tf @@ -27,6 +27,11 @@ resource "null_resource" "alpine_postinstall" { "echo '# stop and disable service crond'", "rc-service crond stop", "rc-update del crond", + # + "echo '# bricoler le service syslog'", + "echo '# limiter a 10 fichiers messages.* de 100k max' > /etc/conf.d/syslog", + "echo 'SYSLOGD_OPTS=\"-t -D -s100 -b10 -l6\"' >> /etc/conf.d/syslog", + "rc-service syslog restart", ] } }