2020-11-17 12:48:26 -05:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2024-01-01 12:14:00 -05:00
|
|
|
if [ ! -f .env ]; then
|
|
|
|
echo "Please create a .env file"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
source .env
|
|
|
|
|
|
|
|
for script_file in ./start.d/*.sh
|
|
|
|
do
|
|
|
|
echo "Sourcing ${script_file}"
|
|
|
|
source "${script_file}"
|
|
|
|
done
|
|
|
|
|
|
|
|
docker compose -p "$OVPN_COMPOSE_NAME" up -d --force-recreate --always-recreate-deps "$@"
|