docker-compose-letsencrypt-.../scripts/base.sh
2019-01-02 11:08:16 +01:00

19 lines
267 B
Bash

#!/bin/bash
#
# Basic scripts
#
# 1. Check if .env file exists
check_env_file() {
if [ -e .env ]; then
source .env
else
echo
echo "Please set up your .env file before starting your enviornment."
echo
exit 1
fi
}