From 038d00a6de725b2312146df25809627e5f7753aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Schneider?= Date: Tue, 12 May 2015 14:41:07 +0200 Subject: [PATCH] debian/combo.init: we need to set a shell for su commands (#7071) --- debian/combo.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/combo.init b/debian/combo.init index a354af6d..102b4838 100644 --- a/debian/combo.init +++ b/debian/combo.init @@ -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" }