Merge pull request #20 from saltydk/master

Switch to use localhost instead of 127.0.0.1 to work with IPv6
This commit is contained in:
driz 2022-10-20 15:39:55 -04:00 committed by GitHub
commit f1fb549f7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -4,6 +4,6 @@
fdmove -c 2 1
# Notify service manager when xrdp is up
s6-notifyoncheck -w 500 -c "true &>/dev/null </dev/tcp/127.0.0.1/3350"
s6-notifyoncheck -w 500 -c "true &>/dev/null </dev/tcp/localhost/3350"
/usr/sbin/xrdp-sesman --nodaemon

View File

@ -4,7 +4,7 @@
fdmove -c 2 1
# Notify service manager when xrdp is up
s6-notifyoncheck -w 500 -c "true &>/dev/null </dev/tcp/127.0.0.1/3389"
s6-notifyoncheck -w 500 -c "true &>/dev/null </dev/tcp/localhost/3389"
# Wait until other services are running
if { s6-svwait -t 10000 -U /var/run/s6/services/xrdp-sesman/ }