Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wondershaper.service executable location #76

Open
Snake883 opened this issue Nov 9, 2021 · 0 comments
Open

wondershaper.service executable location #76

Snake883 opened this issue Nov 9, 2021 · 0 comments

Comments

@Snake883
Copy link

Snake883 commented Nov 9, 2021

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
cednore added a commit to cednore/wondershaper that referenced this issue Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant