docker-scripts/linux/teamcity/agent/latest/run-services.sh
2021-08-30 13:44:34 +03:00

16 lines
235 B
Bash
Executable File

#!/bin/bash
echo '/run-services.sh'
for entry in /services/*.sh
do
if [[ -f "$entry" ]]; then
echo "$entry"
[[ ! -x "$entry" ]] && (chmod +x "$entry"; sync)
"$entry"
fi
done
echo '/run-agent.sh'
exec '/run-agent.sh'