Skip to content

Instantly share code, notes, and snippets.

@auipga
Forked from mmasaki/iperf.service
Last active October 7, 2024 20:06
Show Gist options
  • Save auipga/64be019018ef311deba2211ced316f5e to your computer and use it in GitHub Desktop.
Save auipga/64be019018ef311deba2211ced316f5e to your computer and use it in GitHub Desktop.
systemd service unit for iperf3
# /etc/systemd/system/iperf3.service
# User service: $HOME/.config/systemd/user/iperf3.service
[Unit]
Description=iperf3 server
After=syslog.target network.target auditd.service
[Service]
ExecStart=/usr/bin/iperf3 -s
[Install]
WantedBy=multi-user.target
@antun3s
Copy link

antun3s commented Sep 5, 2023

It worked for me.
Thank you very much!

@ki9us
Copy link

ki9us commented Oct 7, 2024

My installation (pacman on arch) provided /lib/systemd/system/iperf3.service which systemctl recognizes. To customize it, copy it to /etc/systemd/system/iperf3.service. This file will override the one in /lib, but not be affected by package updates (which affect the one in /lib)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment