wondershaper icon indicating copy to clipboard operation
wondershaper copied to clipboard

wondershaper.service executable location

Open Snake883 opened this issue 3 years ago • 0 comments

I had to change the service executable file location: FROM: /usr/sbin/wondershaper TO: /usr/local/sbin/wondershaper

$ cat /usr/local/lib/systemd/system/wondershaper.service

[Unit]
Description=Bandwidth shaper/Network rate limiter
After=network-online.target
Wants=network.target

[Service]
Type=oneshot
RemainAfterExit=yes
EnvironmentFile=/etc/systemd/wondershaper.conf
ExecStart=**/usr/local/sbin/wondershaper** -a $IFACE -d $DSPEED -u $USPEED
ExecStop=**/usr/local/sbin/wondershaper** -c -a $IFACE

[Install]
WantedBy=multi-user.target

Snake883 avatar Nov 09 '21 21:11 Snake883