From ce7b9607af1272d5a1e820e005d526b5235ffad1 Mon Sep 17 00:00:00 2001 From: nagumii Date: Mon, 20 Jan 2025 23:03:03 +0200 Subject: [PATCH] Improve process priority setting for meshtasticd service override --- .../etc/systemd/system/meshtasticd.service.d/override.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 index 0108eaf..4016f36 100644 --- 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 @@ -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