Update common-service-script.sh

This commit is contained in:
Jaredy899 2024-12-26 22:21:31 -05:00 committed by GitHub
parent dc61abd3bb
commit 83fee492b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -78,11 +78,7 @@ startAndEnableService() {
systemctl) systemctl)
"$ESCALATION_TOOL" "$INIT_MANAGER" enable --now "$1" "$ESCALATION_TOOL" "$INIT_MANAGER" enable --now "$1"
;; ;;
rc-service) rc-service|runit)
enableService "$1"
startService "$1"
;;
runit)
enableService "$1" enableService "$1"
startService "$1" startService "$1"
;; ;;