systemd/multiqueue.service

16 lines
282 B
SYSTEMD
Raw Normal View History

2024-03-10 14:38:48 +00:00
# 2024-03-04
2024-03-10 14:37:20 +00:00
[Unit]
2024-03-10 14:38:48 +00:00
Description=Ethernet Tweak Multiqueue
2024-03-10 14:37:20 +00:00
After=network-online.target
2024-03-10 14:38:48 +00:00
After=nproc.service
2024-03-10 14:37:20 +00:00
[Service]
2024-03-10 14:38:48 +00:00
EnvironmentFile=/etc/env/net
2024-03-10 14:37:20 +00:00
EnvironmentFile=/etc/env/nproc
Type=oneshot
2024-03-10 14:38:48 +00:00
ExecStart=ethtool -L ${IFACE} combined ${PROCESSORS}
2024-03-10 14:37:20 +00:00
[Install]
WantedBy=multi-user.target