From 1544ca00bbbd39bfae3a43b484f5c5c67e0549e4 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Wed, 7 Dec 2022 06:55:27 +0530 Subject: iperf3: add s6 service --- iperf3/iperf3-srv/run | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 iperf3/iperf3-srv/run (limited to 'iperf3/iperf3-srv/run') diff --git a/iperf3/iperf3-srv/run b/iperf3/iperf3-srv/run new file mode 100644 index 0000000..7beea43 --- /dev/null +++ b/iperf3/iperf3-srv/run @@ -0,0 +1,5 @@ +#!/bin/execlineb -P +envfile /etc/s6/config/iperf3.conf +importas -sCuD "" OPTS OPTS +fdmove -c 2 1 +s6-setuidgid iperf3 exec /usr/bin/iperf3 --server ${OPTS} -- cgit v1.2.3