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 does not shape my traffic after reboot if I use it as a service. #64

Open
ratnador opened this issue May 27, 2021 · 0 comments

Comments

@ratnador
Copy link

OS: CentOS Linux release 8.3.2011

$ uname -a
Linux 4.18.0-240.1.1.el8_3.x86_64 #1 SMP Thu Nov 19 17:20:08 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Wondershaper does not shape my traffic after reboot if I use it as a service.
However, when I execute "systemctl restart wondershaper" it works fine until the system is rebooted.

I found, that if I change the following lines in the .service file
/etc/systemd/system/wondershaper.service

3 --- After = network.target
4 --- Wants = network.target

3 +++ After = network-online.target
4 +++ Wants = network-online.target

It works well after reboot too.

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

No branches or pull requests

1 participant