Skip to content

Commit 81cebf9

Browse files
authored
fix: perform more complete restart (#606)
1 parent ca57478 commit 81cebf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

salt/moin/init.sls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ apache2:
290290

291291
restart-apache2:
292292
cron.present:
293-
- name: /usr/bin/systemctl restart apache2
293+
- name: /usr/bin/systemctl stop apache2; sleep 5; /usr/bin/systemctl start apache2
294294
- user: root
295295
- minute: '0'
296296
- hour: '4'

0 commit comments

Comments
 (0)