Adjust genuser.sh

- add more logging
- retrieve docker repo and version tag from .env
- only use specified repo / version for download image
- allow for user interrupt
This commit is contained in:
t3chn0m4g3
2025-05-12 11:48:47 +02:00
parent cc9c1d95ce
commit c180732af3
2 changed files with 15 additions and 1 deletions

View File

@ -13,6 +13,9 @@ __ __ _ _ _ [ T-Pot ]
EOF
)
# Add trap to ensure SIGINT, SIGTERM works
trap 'echo; echo; echo "# User interrupt. Exiting."; exit 1' SIGINT
# Generate T-Pot WebUser
echo "$myPW"
echo