From 51981a0a721d9e9635cbe88678c5a7dd1f3b921c Mon Sep 17 00:00:00 2001 From: Gardouille Date: Mon, 15 Mar 2021 15:25:18 +0100 Subject: [PATCH] Motd: Check bitwarden process and ports --- update-motd.d/20-service | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/update-motd.d/20-service b/update-motd.d/20-service index ba814a7..b3a03f3 100755 --- a/update-motd.d/20-service +++ b/update-motd.d/20-service @@ -93,6 +93,13 @@ if [ -d "/var/lib/backuppc" ]; then printf '%b' "\\n${MSG}" fi ### ]]] +### IF BITWARDEN [[[ +if [ -d "/opt/bitwarden_rs" ]; then + MSG=$(process_info "bitwarden_rs" '') + MSG=$(service_info "3012 8000" "${MSG}") + printf '%b' "\\n${MSG}" +fi +### ]]] ### IF ETHERPAD [[[ if [ "$(command -v etherpad)" ]; then MSG=$(process_info "etherpad" '')