#!/bin/bash # # vhost-stack # https://git.stack-source.com/msb/vhost-stack # Copyright (c) 2022 Matthew Saunders Brown # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # load include file source $(dirname $0)/vhost.sh help() { thisfilename=$(basename -- "$0") echo "Enable Apache config for virtualhost." echo "" echo "usage: $thisfilename -d [-m ] [-f ] [-o |] [-h]" echo "" echo " -h Print this help." echo " -d Domain name of VirtualHost to add." echo " -m Name of Apache macro to apply. Optional, script will attempt to autoselect if possible." echo " -f PHP-FPM version to enable. Optional, defaults to default PHP version, only used by VHost macros." echo " -o