mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-27 23:25:43 +03:00
16 lines
235 B
Bash
16 lines
235 B
Bash
|
#!/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'
|