When restarting do collectstatic and apply migrations between stop and start

This commit is contained in:
Benjamin Dauvergne 2014-09-18 14:56:55 +02:00
parent efc3f1e1a8
commit 505bd45188
1 changed files with 2 additions and 2 deletions

4
init.d
View File

@ -167,11 +167,11 @@ case "$1" in
# 'force-reload' alias
#
log_daemon_msg "Restarting $DESC" "$NAME"
do_migrate
do_collectstatic
do_stop
case "$?" in
0|1)
do_migrate
do_collectstatic
do_start
case "$?" in
0) log_end_msg 0 ;;