We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c96771 commit 7f37916Copy full SHA for 7f37916
1 file changed
plogical/csf.py
@@ -282,7 +282,11 @@ def installCSF():
282
# HTACCESS_LOG is ins main error.log
283
elif items.find('HTACCESS_LOG =') > -1 and items.find('=') > -1 and (items[0] != '#'):
284
writeToConf.writelines('HTACCESS_LOG = "/usr/local/lsws/logs/error.log"\n')
285
-
+
286
+ # SYSLOG_CHECK Check whether syslog is running
287
+ elif items.find('SYSLOG_CHECK =') > -1 and items.find('=') > -1 and (items[0] != '#'):
288
+ writeToConf.writelines('SYSLOG_CHECK = "300"\n')
289
290
# CSF UI enable
291
#elif items.find('UI = "0"') > -1 and items.find('=') > -1 and (items[0] != '#'):
292
# writeToConf.writelines('UI = "1"\n')
0 commit comments