mirror of
https://github.com/certat/intelmq-docker.git
synced 2025-12-06 17:22:57 +01:00
fix entrypoint
This commit is contained in:
@@ -17,6 +17,10 @@ intelmq_pass="${INTELMQ_API_PASS:=intelmq}"
|
|||||||
|
|
||||||
intelmq-api-adduser --user "$intelmq_user" --password "$intelmq_pass"
|
intelmq-api-adduser --user "$intelmq_user" --password "$intelmq_pass"
|
||||||
|
|
||||||
|
if [[ ${ENABLE_BOTNET_AT_BOOT} == "true" ]]; then
|
||||||
|
intelmqctl start
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ $1 == "selftest" ]]
|
if [[ $1 == "selftest" ]]
|
||||||
then
|
then
|
||||||
export INTELMQ_TEST_EXOTIC=1
|
export INTELMQ_TEST_EXOTIC=1
|
||||||
@@ -25,6 +29,3 @@ else
|
|||||||
cd /etc/intelmq-api && hug -m intelmq_api.serve -p8080
|
cd /etc/intelmq-api && hug -m intelmq_api.serve -p8080
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${ENABLE_BOTNET_AT_BOOT}" = "true" ]; then
|
|
||||||
intelmqctl start
|
|
||||||
fi
|
|
||||||
|
|||||||
Reference in New Issue
Block a user