1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-12 17:07:23 +01:00

mods: make the logwatch setup mod cloud-in-a-box friendly

This commit is contained in:
downtownallday
2022-11-14 09:22:48 -05:00
parent 60494e0585
commit 2114b9a5d2
2 changed files with 10 additions and 2 deletions

View File

@@ -10,8 +10,14 @@
# author: downtownallday
# removal: run `local/logwatch.sh remove`, then delete symbolic link
# (`rm local/logwatch.sh`)
#
# Warning for cloud-in-a-box users: if ssmtp (or some other
# mail-transport-agent) is not installed, installing logwatch will
# pull in postfix
#
. /etc/mailinabox.conf
[ -e /etc/mailinabox.conf ] && source /etc/mailinabox.conf
[ -e /etc/cloudinabox.conf ] && source /etc/cloudinabox.conf
. setup/functions.sh
logwatch_remove() {