Do collectstatic and apply migrations on reload

This commit is contained in:
Benjamin Dauvergne 2014-09-18 15:15:46 +02:00
parent c1f7792342
commit c3166ec9be
1 changed files with 4 additions and 0 deletions

View File

@ -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 $?
;;