1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00
iiab/roles/network/templates/wondershaper.unused/wondershaper.service

14 lines
335 B
Desktop File

[Unit]
Description=Bandwidth shaper/Network rate limiter
After=network.target
Wants=network.target
[Service]
Type=oneshot
RemainAfterExit=yes
EnvironmentFile=/etc/conf.d/wondershaper.conf
ExecStart=/usr/bin/wondershaper -a $IFACE -d $DSPEED -u $USPEED
ExecStop=/usr/bin/wondershaper -c -a $IFACE
[Install]
WantedBy=multi-user.target