Skip to content

Commit

Permalink
s6 wrap doesn't need to append data to the server packets
Browse files Browse the repository at this point in the history
  • Loading branch information
fredclausen committed Dec 9, 2023
1 parent 54af6ce commit 82a2b67
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions rootfs/etc/s6-overlay/scripts/hfdl_server
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
#!/command/with-contenv bash
#shellcheck shell=bash

source /scripts/common

set -o pipefail
set -e

# Listens for the output of dumphfdl (UDP), and makes it available for multiple processes at TCP port 15555
# shellcheck disable=SC2016
"${s6wrap[@]}" socat -u udp-listen:5556,fork stdout | ncat -4 --keep-open --listen 0.0.0.0 15556
socat -u udp-listen:5556,fork stdout | ncat -4 --keep-open --listen 0.0.0.0 15556

sleep 5

0 comments on commit 82a2b67

Please sign in to comment.