mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 13:33:14 +00:00
PHRAS-3336 test if PHRASEANET_EXPODE_WORKER is set fallback to default
This commit is contained in:
@@ -30,7 +30,7 @@ if [ -f /etc/ImageMagick-$IMAGEMAGICK_POLICY_VERSION/policy.xml ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
rm -rf bin/run-worker.sh
|
rm -rf bin/run-worker.sh
|
||||||
if [ ${PHRASEANET_EXPLODE_WORKER} == "1" ]; then
|
if [ ! -z "$PHRASEANET_EXPLODE_WORKER" ] && [ ${PHRASEANET_EXPLODE_WORKER} == "1" ]; then
|
||||||
for i in `env | grep PHRASEANET_WORKER_ | cut -d'=' -f1`
|
for i in `env | grep PHRASEANET_WORKER_ | cut -d'=' -f1`
|
||||||
do
|
do
|
||||||
queue_name="$(echo $i | cut -d'_' -f3)"
|
queue_name="$(echo $i | cut -d'_' -f3)"
|
||||||
|
Reference in New Issue
Block a user