summaryrefslogtreecommitdiffstats
path: root/debian/iperf3.service
diff options
context:
space:
mode:
Diffstat (limited to 'debian/iperf3.service')
-rw-r--r--debian/iperf3.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/iperf3.service b/debian/iperf3.service
new file mode 100644
index 0000000..8cf786d
--- /dev/null
+++ b/debian/iperf3.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=iperf3 server
+Documentation=man:iperf3(1)
+After=network.target auditd.service
+
+[Service]
+Type=simple
+Restart=always
+RestartSec=15
+User=iperf3
+ExecStart=/usr/bin/iperf3 --server --interval 0
+SuccessExitStatus=1
+
+[Install]
+WantedBy=multi-user.target