summarylogtreecommitdiffstats
path: root/mesonwrap-upgrade.hook
diff options
context:
space:
mode:
Diffstat (limited to 'mesonwrap-upgrade.hook')
-rw-r--r--mesonwrap-upgrade.hook10
1 files changed, 10 insertions, 0 deletions
diff --git a/mesonwrap-upgrade.hook b/mesonwrap-upgrade.hook
new file mode 100644
index 000000000000..fb2738724076
--- /dev/null
+++ b/mesonwrap-upgrade.hook
@@ -0,0 +1,10 @@
+[Trigger]
+Operation = Upgrade
+Type = Package
+Target = mesonwrap
+
+[Action]
+Description = Restarting mesonwrap uWSGI service after upgrade
+Depends = uwsgi-plugin-python
+When = PostTransaction
+Exec = /usr/bin/systemctl try-restart uwsgi@mesonwrap.service