Move configuration files to directory conf.

This commit is contained in:
Christoph 2017-03-07 13:05:51 +01:00
parent dd2f4b453c
commit 5b5fcfa595
5 changed files with 40 additions and 5 deletions

4
.gitignore vendored
View File

@ -1,5 +1,5 @@
/hosts/BAK/* /hosts/BAK/*
*.log *.log
*.swp *.swp
install_postfix_base.conf conf/install_postfix_base.conf
install_postfix_relay.conf conf/install_postfix_relay.conf

View File

@ -0,0 +1,17 @@
# ----------------------------------------------------
# ---
# - Parameter Settings Postfix Bases System
# -
# - Note: You need not to create a configuration file,
# - The installation script will di that.
# ---
# ----------------------------------------------------
_HOSTNAME=
_IPV4=
_IPV6=
_ADMIN_EMAIL=
_SASL_AUTH=
_SASL_USER=
_SASL_PASS=
_RELAY_HOST=

View File

@ -0,0 +1,16 @@
# ----------------------------------------------------
# ---
# - Parameter Settins Postfix Relay System
# -
# - Note: You need not to create a configuration file,
# - The installation script will di that.
# ---
# ----------------------------------------------------
_HOSTNAME=www
_IPV4=
_IPV6=
_ADMIN_EMAIL=
_SASL_USER=
_SASL_PASS=
_RELAY_HOST=

View File

@ -91,7 +91,7 @@ fi
echo "" echo ""
conf_dir=$(dirname $0) conf_dir=$(dirname $0)/conf
conf_file="${conf_dir}/install_postfix_base.conf" conf_file="${conf_dir}/install_postfix_base.conf"
if [[ -f "$conf_file" ]]; then if [[ -f "$conf_file" ]]; then
@ -341,7 +341,9 @@ echo ""
echononl " Save Configuration" echononl " Save Configuration"
cat << EOF > $conf_file cat << EOF > $conf_file
# --- # ---
# - Parametersettins postfix bases system # - Parameter Settings Postfix Bases System
# -
# - - automated generated config file -
# --- # ---
_HOSTNAME=$HOSTNAME _HOSTNAME=$HOSTNAME

View File

@ -220,7 +220,7 @@ tmp_err_msg=$(mktemp)
echononl " Save Configuration" echononl " Save Configuration"
cat << EOF > $conf_file cat << EOF > $conf_file
# --- # ---
# - Parametersettins postfix bases system # - Parameter Settins Postfix Relay System
# --- # ---
_HOSTNAME=$HOSTNAME _HOSTNAME=$HOSTNAME