fix: healthcheck

Part-of: <http://gitlab.vnc.biz/uxf/vnctalk-prosody/-/merge_requests/1>
This commit is contained in:
2026-06-08 09:33:01 +02:00
parent abea16205a
commit 6f13736a77
+1 -1
View File
@@ -7,7 +7,7 @@
#is running and healthy by checking if the TCP port 5582 is open and responsive.
if [ -f /etc/tls-update/tls.crt ]; then
OLDHASH=$(md5sum /etc/prosody/prosody-ssl.pem | awk '{print $1}')
OLDHASH=$(md5sum /etc/prosody/certs/prosody-ssl.pem | awk '{print $1}')
NEWHASH=$(md5sum /etc/tls-update/tls.crt | awk '{print $1}')
if [ "x$OLDHASH" != "x$NEWHASH" ]; then
# cert in secret is changed - fail healthcheck to restart with new cert