From c4a56a3c49cf6fe5a6621eb0c148613ab5dcbed1 Mon Sep 17 00:00:00 2001 From: "Bruce A. Mah" Date: Fri, 18 Nov 2016 13:45:06 -0800 Subject: [PATCH] Improvements to systemd service file as per #430. Submitted by @rpodgorny. --- contrib/iperf3.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/iperf3.service b/contrib/iperf3.service index ccf54cc..e9cf47a 100644 --- a/contrib/iperf3.service +++ b/contrib/iperf3.service @@ -1,9 +1,10 @@ [Unit] Description=iperf3 -Requires=network-online.target +Requires=network.target [Service] ExecStart=/usr/bin/iperf3 -s +Restart=on-failure [Install] WantedBy=multi-user.target