mirror of
https://github.com/femtofox/femtofox.git
synced 2026-12-02 04:46:47 -05:00
Improve process priority setting for meshtasticd service override
This commit is contained in:
parent
c27760d4ec
commit
ce7b9607af
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
[Service]
|
||||
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)'
|
||||
Nice=-20
|
||||
|
||||
[Unit]
|
||||
After=rc-local.service
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue