From b9e676bf5c5b77718e159012fc261874a2905cfb Mon Sep 17 00:00:00 2001 From: nagumii Date: Fri, 27 Dec 2024 19:28:15 +0200 Subject: [PATCH] Add a service override for meshtasticd, lowering its nice to -20 Helps prevent lost packets when cpu usage is very high. --- .../etc/systemd/system/meshtasticd.service.d/override.conf | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/etc/systemd/system/meshtasticd.service.d/override.conf diff --git a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/etc/systemd/system/meshtasticd.service.d/override.conf b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/etc/systemd/system/meshtasticd.service.d/override.conf new file mode 100644 index 0000000..9afc90b --- /dev/null +++ b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/etc/systemd/system/meshtasticd.service.d/override.conf @@ -0,0 +1,3 @@ +[Service] +ExecStartPost=/bin/sh -c 'renice -n -20 -p $(pgrep meshtasticd)' +