From f50a235dae3caee38c083658fe7c48df626f6ed2 Mon Sep 17 00:00:00 2001 From: Martin Winkler Date: Sun, 4 Dec 2022 23:38:59 +0100 Subject: [PATCH] postfixadmin - new dependency and addConf option fix --- seqs/postfixadmin.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/seqs/postfixadmin.sh b/seqs/postfixadmin.sh index 8858bd3..49c33a7 100755 --- a/seqs/postfixadmin.sh +++ b/seqs/postfixadmin.sh @@ -7,7 +7,7 @@ readonly toolConfName="config.local.php" readonly toolTemplates="templates_c" readonly latestUrl="https://api.github.com/repos/$toolName/$toolName/releases/latest" readonly fetchmailUser="fetchmail" -readonly fetchmailDeps="fetchmail liblockfile-simple-perl" +readonly fetchmailDeps="fetchmail liblockfile-simple-perl libdbd-mysql-perl" toolTemplatesLoc= toolAdditionsLoc= @@ -120,8 +120,8 @@ if \$programname == 'systemd' and re_match(\$msg, \"fetchmail.*Succeeded\") then step_7_info() { echo "Create separate log file for fetchmail using rsyslog"; } step_7_alias() { echo "newlog"; } step_7() { - addConf -f "$fetchmailRsyslog" "$fetchmailRsyslogLoc" - addConf -f "$fetchmailRotate" "$fetchmailRotateLoc" + addConf -c "$fetchmailRsyslog" "$fetchmailRsyslogLoc" + addConf -c "$fetchmailRotate" "$fetchmailRotateLoc" exe service rsyslog restart } fetchmailLogLoc="/var/log/fetchmail.log"