mirror of
https://github.com/certat/intelmq-docker.git
synced 2025-12-06 09:12:49 +01:00
Added entrypoint instead of hug
Signed-off-by: Sebastian Waldbauer <waldbauer@cert.at>
This commit is contained in:
8
entrypoint.sh
Normal file
8
entrypoint.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
if ["$1" = 'selftest']; then
|
||||
python3 /opt/intelmq/setup.py test
|
||||
else
|
||||
hug -f /opt/intelmq-manager/intelmq_manager/serve.py -p8080
|
||||
fi
|
||||
Reference in New Issue
Block a user