Commit a5c2805c37b9f055c3aa6372431ab03a3b7ed3d7
1 parent
027d4c51
Exists in
master
and in
90 other branches
Changed cronjob file name
Renamed file in order to use it as an extra cronjob file for our specifig needs, also removed cronjobs that were already set by the package Signed-off-by: Carlos Oliveira <carlospecter@gmail.com> Signed-off-by: Matheus Fernandes <matheus.souza.fernandes@gmail.com>
Showing
3 changed files
with
5 additions
and
17 deletions
Show diff stats
cookbooks/mailman/files/centos/mailman
... | ... | @@ -1,15 +0,0 @@ |
1 | -0 8 * * * mailman /usr/lib/mailman/cron/checkdbs | |
2 | - | |
3 | -0 9 * * * mailman /usr/lib/mailman/cron/disabled | |
4 | - | |
5 | -0 12 * * * mailman /usr/lib/mailman/cron/senddigests | |
6 | - | |
7 | -0 5 1 * * mailman /usr/lib/mailman/cron/mailpasswds | |
8 | - | |
9 | -*/5 * * * * mailman /usr/lib/mailman/cron/gate_news | |
10 | - | |
11 | -27 3 * * * mailman /usr/lib/mailman/cron/nightly_gzip | |
12 | - | |
13 | -30 4 * * * mailman /usr/lib/mailman/cron/cull_bad_shunt | |
14 | - | |
15 | -* * * * * root /usr/lib/mailman/bin/check_perms -f |
... | ... | @@ -0,0 +1 @@ |
1 | +* * * * * root /usr/lib/mailman/bin/check_perms -f | ... | ... |
cookbooks/mailman/recipes/default.rb
... | ... | @@ -77,8 +77,10 @@ execute 'selinux-postfix-mailman' do |
77 | 77 | end |
78 | 78 | ####################################################################### |
79 | 79 | |
80 | -cookbook_file '/etc/cron.d/mailman' do | |
81 | - action :create | |
80 | +cookbook_file '/etc/cron.d/mailman-spb' do | |
81 | + owner 'root' | |
82 | + group 'root' | |
83 | + mode 0644 | |
82 | 84 | end |
83 | 85 | |
84 | 86 | cookbook_file '/etc/postfix/master.cf' do | ... | ... |