debian: fix do_migrate in authentic2-multitenant init

This commit is contained in:
Benjamin Dauvergne 2016-05-02 12:53:50 +02:00
parent 597c22493b
commit a49ca159df
2 changed files with 4 additions and 4 deletions

View File

@ -68,7 +68,7 @@ fi
# Function collecting static files
do_collectstatic() {
log_action_msg "Collect static files.."
su $USER -s /bin/sh -p -c "$MANAGE_SCRIPT collectstatic --noinput"
su $USER -s /bin/sh -p -c "$MANAGE_SCRIPT collectstatic -l --noinput"
log_action_msg ".. done"
}
@ -129,7 +129,7 @@ do_reload() {
do_migrate() {
log_action_msg "Applying new migrations .."
su $USER -s /bin/sh -p -c "$MANAGE_SCRIPT migrate_schemas -l --noinput"
su $USER -s /bin/sh -p -c "$MANAGE_SCRIPT migrate_schemas --noinput"
log_action_msg ".. done"
}

View File

@ -68,7 +68,7 @@ fi
# Function collecting static files
do_collectstatic() {
log_action_msg "Collect static files.."
su $USER -s /bin/sh -p -c "$MANAGE_SCRIPT collectstatic --noinput"
su $USER -s /bin/sh -p -c "$MANAGE_SCRIPT collectstatic -l --noinput"
log_action_msg ".. done"
}
@ -129,7 +129,7 @@ do_reload() {
do_migrate() {
log_action_msg "Applying new migrations .."
su $USER -s /bin/sh -p -c "$MANAGE_SCRIPT migrate_schemas -l --noinput"
su $USER -s /bin/sh -p -c "$MANAGE_SCRIPT migrate_schemas --noinput"
log_action_msg ".. done"
}