Fixes missing quote

This commit is contained in:
Thomas VIAL 2017-01-11 09:37:14 +01:00
parent b018c7edb9
commit 82af7bf2b6
No known key found for this signature in database
GPG Key ID: 0394CEE552FAFEFC
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ RUN sed -i -r 's/^(CRON)=0/\1=1/g' /etc/default/spamassassin
RUN sed -i -r 's/#(@| \\%)bypass/\1bypass/g' /etc/amavis/conf.d/15-content_filter_mode
RUN adduser clamav amavis && adduser amavis clamav
RUN useradd -u 5000 -d /home/docker -s /bin/bash -p $(echo docker | openssl passwd -1 -stdin) docker
RUN (echo "0 4 * * * /usr/local/bin/virus-wiper ; crontab -l) | crontab -
RUN (echo "0 4 * * * /usr/local/bin/virus-wiper" ; crontab -l) | crontab -
# Configure Fail2ban
COPY target/fail2ban/jail.conf /etc/fail2ban/jail.conf

View File

@ -1,4 +1,4 @@
#!/bin/bash
echo "Wipping virus detected more than $VIRUSMAILS_DELETE_DELAY ago"
echo "Wipping virus older than $VIRUSMAILS_DELETE_DELAY days"
find /var/lib/amavis/virusmails/ -type f -mtime +$VIRUSMAILS_DELETE_DELAY -delete