diff --git a/salt/moin/init.sls b/salt/moin/init.sls index 35c2a8d3..ac4bf407 100644 --- a/salt/moin/init.sls +++ b/salt/moin/init.sls @@ -287,3 +287,14 @@ apache2: - user: root - group: root - mode: "0644" + +restart-apache2: + cron.present: + - name: /usr/bin/systemctl restart apache2 + - user: root + - minute: '0' + - hour: '4' + - daymonth: '*' + - month: '*' + - dayweek: '*' + - comment: 'Daily Apache2 restart for Moin wiki'