yunohost-scripts/domain.sh

10 lines
219 B
Bash
Raw Permalink Normal View History

#!/bin/sh
ACTION="$1"
DOMAIN="$2.gkaklas.gr"
if [ "${ACTION}" = "add" ]; then
yunohost domain add "${DOMAIN}" --install-letsencrypt-cert
elif [ "${ACTION}" = "del" ]; then
yunohost domain remove "${DOMAIN}"
fi