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"