Reorder lines in meshtasticd service override

This commit is contained in:
nagumii 2025-01-20 18:32:15 +02:00
parent fae26cc178
commit 73150d882f

View file

@ -1,9 +1,9 @@
[Service]
ExecStartPost=/bin/sh -c 'renice -n -20 -p $(pgrep meshtasticd)'
ExecStart=
ExecStart=/bin/sh -c '/usr/sbin/meshtasticd -h $(sed -n "/Serial/ s/^.*: \(.*\)$/\U\1/p" /proc/cpuinfo | bc | tail -c 9)'
ExecStartPost=/bin/sh -c 'renice -n -20 -p $(pgrep meshtasticd)'
[Unit]
After=rc-local.service
Wants=rc-local.service
After=network-online.target
After=network-online.target