Einfache Kommandos beim Systemstart ausführen

[Unit]
Description=Disable segment offloading
Wants=network-online.target
After=network-online.target

[Service]
Type=oneshot
RemainAfterExit = yes
ExecStart=/usr/sbin/ethtool -K eno1 tso off gso off
ExecStart=/usr/sbin/ethtool -K vmbr0 tso off gso off

[Install]
WantedBy=multi-user.target

Beim Typ „oneshot“ können mehrere ExecStart Befehle konfiguriert werden.


Revision #1
Created 2021-04-30 08:35:02 UTC by magenbrot
Updated 2021-04-30 08:35:08 UTC by magenbrot