From c3166ec9beb86919a33c564dd78d01e55be5ec41 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Thu, 18 Sep 2014 15:15:46 +0200 Subject: [PATCH] Do collectstatic and apply migrations on reload --- debian/portail-citoyen2.init | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/portail-citoyen2.init b/debian/portail-citoyen2.init index 47524c9..eace602 100644 --- a/debian/portail-citoyen2.init +++ b/debian/portail-citoyen2.init @@ -154,9 +154,13 @@ case "$1" in status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $? ;; reload|force-reload) + # # If do_reload() is not implemented then leave this commented out # and leave 'force-reload' as an alias for 'restart'. + # log_daemon_msg "Reloading $DESC" "$NAME" + do_collectstatic + do_migrate do_reload log_end_msg $? ;;