mirror of
https://github.com/certat/intelmq-docker.git
synced 2025-12-06 09:12:49 +01:00
[FIX] Exporting variables now
Signed-off-by: Sebastian Waldbauer <waldbauer@cert.at>
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
#!/bin/bash
|
||||
INTELMQ_IS_DOCKER=1
|
||||
export INTELMQ_IS_DOCKER=1
|
||||
if [[ $1 == "selftest" ]]
|
||||
then
|
||||
INTELMQ_TEST_EXOTIC=1
|
||||
export INTELMQ_TEST_EXOTIC=1
|
||||
nosetests3 /opt/intelmq/intelmq/tests
|
||||
else
|
||||
INTELMQ_API_CONFIG=/opt/intelmq-api/config/config.json
|
||||
export INTELMQ_API_CONFIG=/opt/intelmq-api/config/config.json
|
||||
cd intelmq-api && hug -m intelmq_api.serve -p8080
|
||||
fi
|
||||
Reference in New Issue
Block a user