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

Commit 1c7c15a

Browse files
aptalcathelamer
authored andcommitted
set unlimited tries for service up notification
1 parent 4de178c commit 1c7c15a

File tree

3 files changed

+3
-3
lines changed
  • root/etc/services.d

3 files changed

+3
-3
lines changed

root/etc/services.d/openbox/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 openbox is up
7-
s6-notifyoncheck -w 500 -c "fdmove -c 2 1 pipeline { obxprop --root --display :1 } grep -qe \"OB_VERSION\""
7+
s6-notifyoncheck -w 500 -n 0 -c "fdmove -c 2 1 pipeline { obxprop --root --display :1 } grep -qe \"OB_VERSION\""
88

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

root/etc/services.d/xrdp-chansrv/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 xrdp-chansrv
7-
s6-notifyoncheck -w 500 -c "test -S /var/run/xrdp/sockdir/xrdp_chansrv_socket_1"
7+
s6-notifyoncheck -w 500 -n 0 -c "test -S /var/run/xrdp/sockdir/xrdp_chansrv_socket_1"
88

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

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 nc -w 1 -z -v 127.0.0.1 3389"
7+
s6-notifyoncheck -w 500 -n 0 -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)