Motd: Monitor ZNC process and ports
This commit is contained in:
parent
a6388d6023
commit
e46c21b042
|
@ -270,6 +270,13 @@ if [ "$(command -v redis-server)" ]; then
|
|||
printf '%b' "\\n${MSG}"
|
||||
fi
|
||||
## ]]]
|
||||
## IF ZNC [[[
|
||||
if [ "$(command -v znc)" ]; then
|
||||
MSG=$(process_info "znc" '')
|
||||
MSG=$(service_info "1334 1335" "${MSG}")
|
||||
printf '%b' "\\n${MSG}"
|
||||
fi
|
||||
## ]]]
|
||||
## Security [[[
|
||||
### IF FAIL2BAN [[[
|
||||
if [ "$(command -v fail2ban-server)" ]; then
|
||||
|
|
Loading…
Reference in New Issue