Skip to content

Commit bc41bb0

Browse files
committed
Updated installer to make the clamav log files readable by the ispconfig interface.
1 parent 3845f10 commit bc41bb0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

install/lib/installer_base.lib.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,10 @@ public function install_ispconfig()
681681
if(!is_link("$vhost_conf_enabled_dir/ispconfig.vhost")) {
682682
exec("ln -s $vhost_conf_dir/ispconfig.vhost $vhost_conf_enabled_dir/ispconfig.vhost");
683683
}
684+
685+
// Make the Clamav log files readable by ISPConfig
686+
exec('chmod +r /var/log/clamav/clamav.log');
687+
exec('chmod +r /var/log/clamav/freshclam.log');
684688
}
685689

686690
public function install_crontab()

0 commit comments

Comments
 (0)