Motd: Check uwsgi process and port
This commit is contained in:
parent
51981a0a72
commit
a6388d6023
|
@ -195,6 +195,13 @@ if [ "$(command -v mysqld)" ]; then
|
||||||
printf '%b' "\\n${MSG}"
|
printf '%b' "\\n${MSG}"
|
||||||
fi
|
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 ZFS [[[
|
||||||
if [ "$(command -v zfs)" ]; then
|
if [ "$(command -v zfs)" ]; then
|
||||||
MSG=$(process_info "zed" '')
|
MSG=$(process_info "zed" '')
|
||||||
|
|
Loading…
Reference in New Issue