Téléverser les fichiers vers "/"

This commit is contained in:
Olivier 2024-03-10 15:38:48 +01:00
parent 0169dcff86
commit e4b6d17f1c
2 changed files with 13 additions and 9 deletions

View File

@ -1,14 +1,15 @@
# 2024-01-23
# 2024-03-04
[Unit]
Description=Ethernet Settings
Description=Ethernet Tweak Settings
After=network-online.target
After=net.service
[Service]
EnvironmentFile=/etc/env/net
Type=oneshot
ExecStart=ip link set ens18 mtu 1500
ExecStart=ip link set ens18 txqueuelen 1000
# ExecStart=ip link set ens18 mtu 9000
# ExecStart=ip link set ens18 txqueuelen 10000
ExecStart=ip link set ${IFACE} mtu 9000
ExecStart=ip link set ${IFACE} txqueuelen 10000
[Install]
WantedBy=multi-user.target

View File

@ -1,12 +1,15 @@
# 2024-11-23
# 2024-03-04
[Unit]
Description=Ethernet Multiqueue
Description=Ethernet Tweak Multiqueue
After=network-online.target
After=nproc.service
[Service]
EnvironmentFile=/etc/env/net
EnvironmentFile=/etc/env/nproc
Type=oneshot
ExecStart=ethtool -L ens18 combined ${NPROC}
ExecStart=ethtool -L ${IFACE} combined ${PROCESSORS}
[Install]
WantedBy=multi-user.target