17 lines
361 B
Bash
17 lines
361 B
Bash
|
#!/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
|