add CAKE configuration unit

This commit is contained in:
Daniel Micay 2021-08-12 17:47:51 -04:00
parent 03ebca7fda
commit 69effda0bc
2 changed files with 13 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
cake.service.tmp

12
cake.service Normal file
View File

@ -0,0 +1,12 @@
[Unit]
Description=Set CAKE configuration
After=network.service
[Service]
Type=oneshot
User=root
Group=root
ExecStart=/usr/bin/tc qdisc replace dev eth0 root cake bandwidth {bandwidth} besteffort
[Install]
WantedBy=multi-user.target