ansible/roles/common/templates/multiqueue_service.j2

16 lines
343 B
Plaintext
Raw Normal View History

2023-09-26 09:29:37 +00:00
{# Updated: 2023-09-26 #}
2023-09-25 08:40:20 +00:00
# master: {{ common_mastering }}
# updated: {{ ansible_date_time.date }}
[Unit]
Description=Ethernet Multiqueue
2023-09-26 09:29:37 +00:00
After=network-online.target nproc.service
2023-09-25 08:40:20 +00:00
[Service]
Type=oneshot
2023-09-26 09:29:37 +00:00
EnvironmentFile={{ nproc_default }}
2023-09-25 08:40:20 +00:00
ExecStart=ethtool -L {{ ethernet_interface }} combined ${NPROC}
[Install]
WantedBy=multi-user.target