diff --git a/postfixinstall b/postfixinstall index ebbb4f4..c87f219 100755 --- a/postfixinstall +++ b/postfixinstall @@ -1,5 +1,4 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: MIT # Author : Allan Christensen # First Created : 17102020 (DD-MM-YYYY) @@ -17,7 +16,7 @@ if [[ $(id -u) -ne 0 ]]; then echo "" && echo "Must be root or use sudo" && echo install_utils="no" # -# Function to check if a service is already running or not +# Function to check if a service is already running # serviceyes () { printf "\n%s" $service ; printf " is already running cannot continue...\n\n"; } servicealive () { status=$(systemctl is-active $service); if [[ "$status" == "active" ]]; then serviceyes ; exit 1; fi; }