From bf301477fdd07f7739c3229f43cf1506764857a1 Mon Sep 17 00:00:00 2001 From: allan Date: Sat, 6 Dec 2025 10:10:38 +0100 Subject: [PATCH] comment corrections only no code changes --- postfixinstall | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; }