added iperf3
parent
dad5d1ac22
commit
c216adad03
@ -0,0 +1,9 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Iperf3 TCP Server
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/bin/iperf3 -s -V
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
- name: install iperf3
|
||||||
|
pacman:
|
||||||
|
name: iperf3
|
||||||
|
state: present
|
||||||
|
|
||||||
|
- name: copy iperf3 systemd-service
|
||||||
|
copy:
|
||||||
|
src: iperf3-tcp.service
|
||||||
|
dest: /etc/systemd/system/iperf3-tcp.service
|
||||||
|
|
||||||
|
- name: start and enable iperf3 tcp
|
||||||
|
systemd:
|
||||||
|
name: iperf3-tcp.service
|
||||||
|
enabled: yes
|
||||||
|
state: started
|
Loading…
Reference in New Issue