File tree Expand file tree Collapse file tree 3 files changed +20
-8
lines changed Expand file tree Collapse file tree 3 files changed +20
-8
lines changed Original file line number Diff line number Diff line change
1
+ #
2
+ # Cookbook:: chatmail
3
+ # Recipe:: cron
4
+ #
5
+ # Copyright:: 2023, The Authors, All Rights Reserved.
6
+
7
+ package 'cron'
8
+
9
+ service 'cron.service' do
10
+ action [ :enable , :start ]
11
+ end
12
+
13
+ template '/etc/cron.d/expunge' do
14
+ source 'expunge.cron.erb'
15
+ owner 0
16
+ group 0
17
+ mode '0644'
18
+ variables ( { 'config' => node [ 'chatmail' ] } )
19
+ end
Original file line number Diff line number Diff line change 14
14
include_recipe 'chatmail::nginx'
15
15
include_recipe 'chatmail::mtail'
16
16
include_recipe 'chatmail::chatmaild'
17
+ include_recipe 'chatmail::cron'
17
18
include_recipe 'chatmail::zone'
Original file line number Diff line number Diff line change 57
57
service 'dovecot.service' do
58
58
action [ :enable , :start ]
59
59
end
60
-
61
- template '/etc/cron.d/expunge' do
62
- source 'expunge.cron.erb'
63
- owner 0
64
- group 0
65
- mode '0644'
66
- variables ( { 'config' => node [ 'chatmail' ] } )
67
- end
You can’t perform that action at this time.
0 commit comments