debian/combo.init: we need to set a shell for su commands (#7071)

This commit is contained in:
Jérôme Schneider 2015-05-12 14:41:07 +02:00
parent 53101b136c
commit 038d00a6de
1 changed files with 2 additions and 2 deletions

4
debian/combo.init vendored
View File

@ -119,13 +119,13 @@ do_reload() {
do_migrate() {
log_action_msg "Applying migrations (migrate_schemas).."
su $USER -p -c "$MANAGE_SCRIPT migrate_schemas"
su $USER -s /bin/sh -p -c "$MANAGE_SCRIPT migrate_schemas"
log_action_msg "done"
}
do_collectstatic() {
log_action_msg "Collect static files (collectstatic).."
su $USER -p -c "$MANAGE_SCRIPT collectstatic --noinput"
su $USER -s /bin/sh -p -c "$MANAGE_SCRIPT collectstatic --noinput"
log_action_msg "done"
}