Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
9482455f
Commit
9482455f
authored
Mar 05, 2009
by
Falko Timme
Browse files
- Fixed logfile paths for CentOS.
parent
838c874d
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/mods-available/monitor_core_module.inc.php
View file @
9482455f
...
...
@@ -1204,11 +1204,11 @@ class monitor_core_module {
break
;
case
'log_freshclam'
:
if
(
$dist
==
'debian'
)
$logfile
=
'/var/log/clamav/freshclam.log'
;
if
(
$dist
==
'redhat'
)
$logfile
=
'/var/log/freshclam.log'
;
if
(
$dist
==
'redhat'
)
$logfile
=
(
is_file
(
'/var/log/clamav/freshclam.log'
)
?
'/var/log/clamav/freshclam.log'
:
'/var/log/freshclam.log'
)
;
break
;
case
'log_clamav'
:
if
(
$dist
==
'debian'
)
$logfile
=
'/var/log/clamav/clamav.log'
;
if
(
$dist
==
'redhat'
)
$logfile
=
'/var/log/maillog'
;
if
(
$dist
==
'redhat'
)
$logfile
=
(
is_file
(
'/var/log/clamav/clamd.log'
)
?
'/var/log/clamav/clamd.log'
:
'/var/log/maillog'
)
;
break
;
case
'log_fail2ban'
:
if
(
$dist
==
'debian'
)
$logfile
=
'/var/log/fail2ban.log'
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment