From 91ff024b8ab670cbe434aff1d0b2b10a773498b3 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Mon, 15 Mar 2021 15:17:49 +0100 Subject: [PATCH] Motd: Monitor mumble/murmurd process --- update-motd.d/20-service | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/update-motd.d/20-service b/update-motd.d/20-service index 2a7870c..ba814a7 100755 --- a/update-motd.d/20-service +++ b/update-motd.d/20-service @@ -107,7 +107,7 @@ if [ "$(command -v ethercalc)" ]; then printf '%b' "\\n${MSG}" fi ### ]]] -### IF [[[ +### IF GITEA [[[ if [ "$(command -v gitea)" ]; then MSG=$(process_info "gitea" '') MSG=$(service_info "3000" "${MSG}") @@ -137,6 +137,13 @@ if [ -d "/var/lib/jenkins" ]; then printf '%b' "\\n${MSG}" fi ### ]]] +### IF MUMBLE [[[ +if [ "$(command -v murmurd)" ]; then + MSG=$(process_info "murmurd" '') + MSG=$(service_info "64738" "${MSG}") + printf '%b' "\\n${MSG}" +fi +### ]]] ### IF XYMONSERVER [[[ if [ "$(command -v xymond)" ]; then MSG=$(process_info "xymond" '')