Update caddy-jail.sh

master
basilhendroff 2020-07-28 16:33:04 +08:00 committed by GitHub
parent df1be0d769
commit e6bdf367a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -31,6 +31,12 @@ INCLUDES_PATH="${SCRIPTPATH}"/includes
RELEASE=$(freebsd-version | sed "s/STABLE/RELEASE/g" | sed "s/-p[0-9]*//")
# Check for nextcloud-config and set configuration
if ! [ -e "${SCRIPTPATH}"/nextcloud-config ]; then
echo "${SCRIPTPATH}/nextcloud-config must exist."
exit 1
fi
#####
#
# Jail Creation