We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbc1dcb commit a1dd1e7Copy full SHA for a1dd1e7
1 file changed
mpcontribs-portal/start.sh
@@ -1,7 +1,7 @@
1
#!/bin/bash
2
3
set -e
4
-zzz=$(($DEPLOYMENT * 60))
+zzz=$((DEPLOYMENT * 60))
5
echo "$SUPERVISOR_PROCESS_NAME: waiting for $zzz seconds before start..."
6
sleep $zzz
7
@@ -13,7 +13,7 @@ else
13
fi
14
15
PMGRC=$HOME/.pmgrc.yaml
16
-[[ ! -e "$PMGRC" ]] && echo "PMG_DUMMY_VAR: dummy" >$PMGRC
+[[ ! -e "$PMGRC" ]] && echo "PMG_DUMMY_VAR: dummy" >"$PMGRC"
17
python manage.py migrate --noinput
18
19
CMD="gunicorn wsgi"
0 commit comments