Motd: Check uwsgi process and port

This commit is contained in:
gardouille 2021-03-15 15:29:58 +01:00
parent 51981a0a72
commit a6388d6023
Signed by: gardouille
GPG Key ID: E759BAA22501AF32
1 changed files with 7 additions and 0 deletions

View File

@ -195,6 +195,13 @@ if [ "$(command -v mysqld)" ]; then
printf '%b' "\\n${MSG}"
fi
## ]]]
## IF UWSGI [[[
if [ "$(command -v uwsgi)" ]; then
MSG=$(process_info "uwsgi" '')
MSG=$(service_info "8888" "${MSG}")
printf '%b' "\\n${MSG}"
fi
## ]]]
## IF ZFS [[[
if [ "$(command -v zfs)" ]; then
MSG=$(process_info "zed" '')