#!/bin/bash # wgd.sh - Copyright(C) 2021 Donald Zou [https://github.com/donaldzou] # Under Apache-2.0 License app_name="dashboard.py" app_official_name="WGDashboard" PID_FILE=./gunicorn.pid environment=$(if [[ $ENVIRONMENT ]]; then echo $ENVIRONMENT; else echo 'develop'; fi) if [[ $CONFIGURATION_PATH ]]; then cb_work_dir=$CONFIGURATION_PATH/letsencrypt/work-dir cb_config_dir=$CONFIGURATION_PATH/letsencrypt/config-dir else cb_work_dir=/etc/letsencrypt cb_config_dir=/var/lib/letsencrypt fi dashes='------------------------------------------------------------' equals='============================================================' help () { printf "=================================================================================\n" printf "+ by Donald Zou - https://github.com/donaldzou +\n" printf "=================================================================================\n" printf "| Usage: ./wgd.sh