comment corrections only no code changes

This commit is contained in:
2025-12-06 10:10:38 +01:00
parent 4b30efa33a
commit bf301477fd

View File

@@ -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; }