Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make freshclam cron job enabled/disabled configurable
- Loading branch information
1 parent
c3547bf
commit ab27951
Showing
8 changed files
with
67 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
## When changing the periodicity of freshclam runs in the crontab, | ||
## this value must be adjusted also. Its value is the timespan between | ||
## two subsequent freshclam runs in minutes. E.g. for the default | ||
## | ||
## | 0 */3 * * * ... | ||
## | ||
## crontab line, the value is 180 (minutes). | ||
# FRESHCLAM_MOD= | ||
|
||
## A predefined value for the delay in seconds. By default, the value is | ||
## calculated by the 'hostid' program. This predefined value guarantees | ||
## constant timespans of 3 hours between two subsequent freshclam runs. | ||
## | ||
## This option accepts two special values: | ||
## 'disabled-warn' ... disables the automatic freshclam update and | ||
## gives out a warning | ||
## 'disabled' ... disables the automatic freshclam silently | ||
# FRESHCLAM_DELAY= | ||
|
||
|
||
### !!!!! REMOVE ME !!!!!! | ||
### REMOVE ME: By default, the freshclam update is disabled to avoid | ||
### REMOVE ME: network access without prior activation | ||
<%= @rhel_cron_disable ? "FRESHCLAM_DELAY=disabled" : "" %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters