1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-23 18:57:23 +01:00

allow for non-standard ssh port in status check

This commit is contained in:
Ian Beringer
2015-02-01 20:18:32 +01:00
parent 82e752395b
commit 61c1dc4984
2 changed files with 2 additions and 1 deletions

View File

@@ -58,7 +58,7 @@ def run_services_checks(env, output):
{ "name": "Sieve (dovecot)", "port": 4190, "public": True, },
{ "name": "Mail-in-a-Box Management Daemon", "port": 10222, "public": False, },
{ "name": "SSH Login (ssh)", "port": 22, "public": True, },
{ "name": "SSH Login (ssh)", "port": int(env['SSH_PORT']), "public": True, },
{ "name": "Public DNS (nsd4)", "port": 53, "public": True, },
{ "name": "Incoming Mail (SMTP/postfix)", "port": 25, "public": True, },
{ "name": "Outgoing Mail (SMTP 587/postfix)", "port": 587, "public": True, },