Skip to content
Snippets Groups Projects
Verified Commit 51c14dda authored by Evangelos Foutras's avatar Evangelos Foutras :smiley_cat:
Browse files

archwiki: restart archwiki-runjobs-wait on upgrade

This fixes the unexpanded magic words in mails that we sometimes see.
parent c740810d
No related branches found
No related tags found
No related merge requests found
Pipeline #44586 passed
......@@ -6,6 +6,9 @@
become: true
become_user: "{{ archwiki_user }}"
- name: Restart archwiki-runjobs-wait
service: name=archwiki-runjobs-wait state=restarted
# The nginx proxy/fastcgi cache can be cleared by simply deleting all files in
# the cache directory. It is important to keep the directory tree intact,
# otherwise nginx will spit errors into the log until it is restarted (even
......
......@@ -56,6 +56,9 @@
become_user: "{{ archwiki_user }}"
notify:
- Run wiki updatescript
# archwiki updates often break magic words in mails, leaving them
# unexpanded until the archwiki-runjobs-wait service is restarted
- Restart archwiki-runjobs-wait
# purge the nginx cache and MediaWiki file cache to make sure clients get updated assets
# as well as freshly rendered pages using the new assets
- Purge nginx cache
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment