Motd: Monitor mumble/murmurd process

This commit is contained in:
Jeremy Gardais 2021-03-15 15:17:49 +01:00
parent e99b7ba60a
commit 91ff024b8a
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 8 additions and 1 deletions

View File

@ -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" '')