Skip to content

Commit 42f10de

Browse files
author
Steffen Bleul
authored
Merge pull request #11 from chrif/master
Logrotate trying to send an email to "nomail"
2 parents d21d86f + c60d713 commit 42f10de

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.idea
12
.vagrant
23
*.json
34
*.log

docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ touch /usr/bin/logrotate.d/logrotate.conf
8888

8989
cat >> /usr/bin/logrotate.d/logrotate.conf <<EOF
9090
# deactivate mail
91-
mail nomail
91+
nomail
9292
9393
# move the log files to another directory?
9494
${logrotate_olddir}

update-logrotate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ if [ ! -f /usr/bin/logrotate.d/logrotate.conf ]; then
114114

115115
cat >> /usr/bin/logrotate.d/logrotate.conf <<EOF
116116
# deactivate mail
117-
mail nomail
117+
nomail
118118
119119
# move the log files to another directory?
120120
${logrotate_olddir}

0 commit comments

Comments
 (0)