summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/python-django-ishtar.postinst7
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/python-django-ishtar.postinst b/debian/python-django-ishtar.postinst
index a92b034ed..5efd25548 100644
--- a/debian/python-django-ishtar.postinst
+++ b/debian/python-django-ishtar.postinst
@@ -47,6 +47,13 @@ case "$1" in
echo "updating $instance: OK"
done
echo "updating all instances: OK"
+
+ # the assumption is that nginx and uwsgi were configured
+ # through ishtar-prepare-instance, so let's restart them
+ # unconditionally:
+ invoke-rc.d uwsgi restart
+ invoke-rc.d nginx restart
+ echo "restarting uwsgi and nginx: OK"
else
echo "found no instances to upgrade in $INSTANCES_FILE"
fi