diff options
-rwxr-xr-x | recipes-connectivity/lora/lora-network-server/lora-network-server.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-connectivity/lora/lora-network-server/lora-network-server.init b/recipes-connectivity/lora/lora-network-server/lora-network-server.init index bf88f77..4baad10 100755 --- a/recipes-connectivity/lora/lora-network-server/lora-network-server.init +++ b/recipes-connectivity/lora/lora-network-server/lora-network-server.init @@ -62,7 +62,7 @@ do_start() { # start packet forwarder start-stop-daemon --start --background --make-pidfile \ --pidfile $pkt_fwd_pidfile --exec $pkt_fwd -- \ - -c $run_dir/1 -l $pkt_fwd_log + -c $run_dir/1 renice -n -20 -p $(pgrep lora-network-se) renice -n -20 -p $(pgrep $(basename $pkt_fwd)) |