From a25169ba2129faf8ffb369c8feb506d9c157fe78 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Mon, 7 Aug 2023 09:58:44 +0200 Subject: [PATCH] Look for PBS process and listening port --- update-motd.d/20-service | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/update-motd.d/20-service b/update-motd.d/20-service index 9cbe80a..cc652a5 100755 --- a/update-motd.d/20-service +++ b/update-motd.d/20-service @@ -331,6 +331,14 @@ if [ "$(command -v pvestatd)" ]; then printf '%b' "\\n${MSG}" fi ### ]]] + +### IF PBS [[[ +if [ "$(command -v proxmox-backup-manager)" ]; then + MSG=$(process_info "proxmox-backup-proxy" '') + MSG=$(service_info "8007" "${MSG}") + printf '%b' "\\n${MSG}" +fi +### ]]] ## ]]] ## Docker [[[ ### IF DOCKERD [[[