cleaned up >/dev/nulls in Dockerfile and replaced em dashes with normal dashes (#2024)

This commit is contained in:
Georg Lauterbach 2021-06-08 03:20:20 +02:00 committed by GitHub
parent ac450f641f
commit e7b88d865b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 151 additions and 151 deletions

View file

@ -6,7 +6,7 @@
LOG_DATE=$(date +"%Y-%m-%d %H:%M:%S ")
_notify 'task' "${LOG_DATE} Start check-for-changes script."
# ? Checks
# ? --------------------------------------------- Checks
cd /tmp/docker-mailserver || exit 1
@ -24,7 +24,7 @@ then
exit 0
fi
# ? Actual script begins
# ? --------------------------------------------- Actual script begins
# determine postmaster address, duplicated from start-mailserver.sh
# this script previously didn't work when POSTMASTER_ADDRESS was empty

View file

@ -2,7 +2,7 @@
DMS_DEBUG="${DMS_DEBUG:=0}"
# ? BIN HELPER
# ? --------------------------------------------- BIN HELPER
function errex
{
@ -15,7 +15,7 @@ function escape
echo "${1//./\\.}"
}
# ? IP & CIDR
# ? --------------------------------------------- IP & CIDR
function _mask_ip_digit
{
@ -57,7 +57,7 @@ function _sanitize_ipv4_to_subnet_cidr
}
export -f _sanitize_ipv4_to_subnet_cidr
# ? ACME
# ? --------------------------------------------- ACME
function _extract_certs_from_acme
{
@ -106,7 +106,7 @@ for key, value in acme.items():
}
export -f _extract_certs_from_acme
# ? Notifications
# ? --------------------------------------------- Notifications
function _notify
{
@ -132,7 +132,7 @@ function _notify
}
export -f _notify
# ? Relay Host Map
# ? --------------------------------------------- Relay Host Map
# setup /etc/postfix/relayhost_map
# --
@ -170,7 +170,7 @@ function _populate_relayhost_map
}
export -f _populate_relayhost_map
# ? File Checksums
# ? --------------------------------------------- File Checksums
# file storing the checksums of the monitored files.
# shellcheck disable=SC2034

View file

@ -10,11 +10,11 @@ unset DAEMONS_START HOSTNAME DOMAINNAME CHKSUM_FILE
declare -A VARS
declare -a FUNCS_SETUP FUNCS_FIX FUNCS_CHECK FUNCS_MISC DAEMONS_START
#
# ------------------------------------------------------------
# ? <<
#
# --
# ? >> Setup of default and global values / variables
#
# ------------------------------------------------------------
VARS[AMAVIS_LOGLEVEL]="${AMAVIS_LOGLEVEL:=0}"
VARS[DEFAULT_RELAY_HOST]="${DEFAULT_RELAY_HOST:=}"
@ -71,11 +71,11 @@ HOSTNAME="$(hostname -f)"
DOMAINNAME="$(hostname -d)"
CHKSUM_FILE=/tmp/docker-mailserver-config-chksum
#
# ------------------------------------------------------------
# ? << Setup of default and global values / variables
#
# --
# ? >> Registering functions
#
# ------------------------------------------------------------
function register_functions
{
@ -223,16 +223,16 @@ function _defunc
exit 1
}
#
# ------------------------------------------------------------
# ? << Registering functions
#
# --
# ? >> Sourcing all stacks
# 1. Checks
# 2. Setup
# 3. Fixes
# 4. Miscellaneous
# 5. Daemons
#
# ------------------------------------------------------------
# shellcheck source=./startup/check-stack.sh
. /usr/local/bin/check-stack.sh
@ -249,11 +249,11 @@ function _defunc
# shellcheck source=./startup/daemons-stack.sh
. /usr/local/bin/daemons-stack.sh
#
# ------------------------------------------------------------
# ? << Sourcing all stacks
#
# --
# ? >> Executing all stacks
#
# ------------------------------------------------------------
_notify 'tasklog' "Welcome to docker-mailserver $(</VERSION)"
_notify 'inf' 'ENVIRONMENT'