From f622cba366e98994095197db987f5fdc0fd1e618 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sun, 17 Aug 2025 11:44:16 -0700 Subject: [PATCH] Add the mail files to the container's log output. --- Config/HugoExample/files/main.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Config/HugoExample/files/main.sh b/Config/HugoExample/files/main.sh index 5ee4ac1..73771a9 100644 --- a/Config/HugoExample/files/main.sh +++ b/Config/HugoExample/files/main.sh @@ -64,6 +64,14 @@ if [[ "$DEV" == "Y"* || "$DEV" == "T"* ]]; then done & fi +echo "*** Following Mail Files ***" +cd /var/mail +touch mail www-data +chown -v mail:mail mail +chown -v www-data:mail www-data +chmod -v 660 mail www-data +tail -f mail www-data & + cd echo "*** Finished $0 @ `date` ***"