pve-docker/socat/sc/entrypoint.sh

17 lines
361 B
Bash
Raw Normal View History

2024-04-19 12:39:34 +02:00
#!/bin/bash
set -eo pipefail
shopt -s nullglob
ADMIN_PASSWORD="nyaowo"
# Verify that the minimally required password settings are set for new databases.
echo "root:$ADMIN_PASSWORD"|chpasswd
/bin/bash /root/socat.sh &
echo "Running SOCAT..."
exec "$@"
while true; do
# Your commands or checks here
sleep 60 # Adjust the sleep interval as needed
done