qmi-network@.service - add a note about metrics & set a "more sane" normal metric value

This commit is contained in:
mpmc 2023-06-18 11:12:12 +01:00
parent 6e7218c685
commit 8ae5c85bc9
1 changed files with 11 additions and 5 deletions

View File

@ -21,15 +21,21 @@ KillMode=process
##
# A note on metrics.
# The lower the value the more priority the route has over others.
# Normal metric (Set this higher so it won't be used over the default
# route).
Environment=NMETRIC=2048
# Failover metric (Set this lower so it's the default route when other
routes fail).
Environment=FOMETRIC=128
# Ping host.
Environment=PHOST="dns9.quad9.net"
Environment=PHOSTIP="9.9.9.9"
# Normal wwan%i metric (should be higher than all other dev).
Environment=NMETRIC=1025
# Failover wwan%i metric.
Environment=FOMETRIC=128
# Ping test interval.
Environment=PTESTINT=20