mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-06-21 10:38:58 +02:00
allow for non-standard ssh port in status check
This commit is contained in:
@@ -109,6 +109,7 @@ PUBLIC_IPV6=$PUBLIC_IPV6
|
||||
PRIVATE_IP=$PRIVATE_IP
|
||||
PRIVATE_IPV6=$PRIVATE_IPV6
|
||||
CSR_COUNTRY=$CSR_COUNTRY
|
||||
SSH_PORT=$(sshd -T 2>/dev/null | grep "^port " | sed "s/port //")
|
||||
EOF
|
||||
|
||||
# Start service configuration.
|
||||
|
||||
Reference in New Issue
Block a user