From 6c2e89c809a990c4e1d6d2016e06dceaff92efe1 Mon Sep 17 00:00:00 2001 From: TheSpad Date: Wed, 19 Oct 2022 15:34:59 +0100 Subject: [PATCH] Use localhost instead of 127.0.0.1 in readiness check --- root/etc/s6-overlay/s6-rc.d/svc-xrdp-sesman/run | 2 +- root/etc/s6-overlay/s6-rc.d/svc-xrdp/run | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/root/etc/s6-overlay/s6-rc.d/svc-xrdp-sesman/run b/root/etc/s6-overlay/s6-rc.d/svc-xrdp-sesman/run index f47a8c6..ec37dee 100755 --- a/root/etc/s6-overlay/s6-rc.d/svc-xrdp-sesman/run +++ b/root/etc/s6-overlay/s6-rc.d/svc-xrdp-sesman/run @@ -4,6 +4,6 @@ fdmove -c 2 1 # Notify service manager when xrdp is up -s6-notifyoncheck -w 500 -c "nc -z 127.0.0.1 3350" +s6-notifyoncheck -w 500 -c "nc -z localhost 3350" /usr/sbin/xrdp-sesman --nodaemon diff --git a/root/etc/s6-overlay/s6-rc.d/svc-xrdp/run b/root/etc/s6-overlay/s6-rc.d/svc-xrdp/run index f91d3d6..6d6e0ae 100755 --- a/root/etc/s6-overlay/s6-rc.d/svc-xrdp/run +++ b/root/etc/s6-overlay/s6-rc.d/svc-xrdp/run @@ -4,7 +4,7 @@ fdmove -c 2 1 # Notify service manager when xrdp is up -s6-notifyoncheck -w 500 -c "nc -z 127.0.0.1 3389" +s6-notifyoncheck -w 500 -c "nc -z localhost 3389" # set env s6-env DISPLAY=:1