-
-
Save auipga/64be019018ef311deba2211ced316f5e to your computer and use it in GitHub Desktop.
systemd service unit for iperf3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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)