ansible/roles/common/templates/multiqueue_service.j2

16 lines
343 B
Django/Jinja

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