Skip to content
Permalink
Browse files

Update csf.py

Add SYSLOG_CHECK default to on every 5 mins
  • Loading branch information
whattheserver committed Oct 23, 2019
1 parent 0c96771 commit 7f37916f739f16f1b046a3745b9bb626998c0ae7
Showing with 5 additions and 1 deletion.
  1. +5 −1 plogical/csf.py
@@ -282,7 +282,11 @@ def installCSF():
# HTACCESS_LOG is ins main error.log
elif items.find('HTACCESS_LOG =') > -1 and items.find('=') > -1 and (items[0] != '#'):
writeToConf.writelines('HTACCESS_LOG = "/usr/local/lsws/logs/error.log"\n')


# SYSLOG_CHECK Check whether syslog is running
elif items.find('SYSLOG_CHECK =') > -1 and items.find('=') > -1 and (items[0] != '#'):
writeToConf.writelines('SYSLOG_CHECK = "300"\n')

# CSF UI enable
#elif items.find('UI = "0"') > -1 and items.find('=') > -1 and (items[0] != '#'):
# writeToConf.writelines('UI = "1"\n')

0 comments on commit 7f37916

Please sign in to comment.
You can’t perform that action at this time.