Motd: Check bitwarden process and ports

This commit is contained in:
Jeremy Gardais 2021-03-15 15:25:18 +01:00
parent 91ff024b8a
commit 51981a0a72
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 7 additions and 0 deletions

View File

@ -93,6 +93,13 @@ if [ -d "/var/lib/backuppc" ]; then
printf '%b' "\\n${MSG}" printf '%b' "\\n${MSG}"
fi 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 ETHERPAD [[[
if [ "$(command -v etherpad)" ]; then if [ "$(command -v etherpad)" ]; then
MSG=$(process_info "etherpad" '') MSG=$(process_info "etherpad" '')