Skip to content
This repository was archived by the owner on Jun 30, 2022. It is now read-only.

Commit 097cd90

Browse files
Carlos Hernandezthelamer
authored andcommitted
switch service signaling to netcat
* fixes linuxserver/docker-calibre#10
1 parent 9c24ebc commit 097cd90

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ RUN \
1818
libxfixes3 \
1919
libxml2 \
2020
libxrandr2 \
21+
netcat-traditional \
2122
openbox \
2223
pulseaudio \
2324
x11-apps \

Dockerfile.aarch64

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ RUN \
1818
libxfixes3 \
1919
libxml2 \
2020
libxrandr2 \
21+
netcat-traditional \
2122
openbox \
2223
pulseaudio \
2324
x11-apps \

Dockerfile.armhf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ RUN \
1818
libxfixes3 \
1919
libxml2 \
2020
libxrandr2 \
21+
netcat-traditional \
2122
openbox \
2223
pulseaudio \
2324
x11-apps \

root/etc/services.d/xrdp/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
fdmove -c 2 1
55

66
# Notify service manager when xrdp is up
7-
s6-notifyoncheck -w 500 -c "redirfd -w 1 /dev/null fdmove -c 2 1 s6-tcpclient 127.0.0.1 3389 true"
7+
s6-notifyoncheck -w 500 -c "redirfd -w 1 /dev/null fdmove -c 2 1 nc -w 1 -z -v 127.0.0.1 3389"
88

99
# Wait until Xorg is running
1010
if { s6-svwait -t 10000 -U /var/run/s6/services/Xorg/ }

0 commit comments

Comments
 (0)