postfixadmin - new dependency and addConf option fix
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user