From 73150d882fb634c0d9e1935d7b2d9db22d7e8de2 Mon Sep 17 00:00:00 2001 From: nagumii Date: Mon, 20 Jan 2025 18:32:15 +0200 Subject: [PATCH] Reorder lines in meshtasticd service override --- .../etc/systemd/system/meshtasticd.service.d/override.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 3ef95db..0108eaf 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,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 \ No newline at end of file +After=network-online.target