Skip to content

Commit 560e74d

Browse files
authored
chore: add cron to restart apache2 daily (#567)
1 parent f24d58a commit 560e74d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

salt/moin/init.sls

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,3 +287,14 @@ apache2:
287287
- user: root
288288
- group: root
289289
- mode: "0644"
290+
291+
restart-apache2:
292+
cron.present:
293+
- name: /usr/bin/systemctl restart apache2
294+
- user: root
295+
- minute: '0'
296+
- hour: '4'
297+
- daymonth: '*'
298+
- month: '*'
299+
- dayweek: '*'
300+
- comment: 'Daily Apache2 restart for Moin wiki'

0 commit comments

Comments
 (0)