From f74209ba18fc80288ab07b7bc8be9431dfad60ee Mon Sep 17 00:00:00 2001 From: Jason Reiss Date: Tue, 6 Nov 2018 14:23:38 -0600 Subject: lora: turn-off default packet forwarder logging, does not work with logrotate --- .../lora/lora-packet-forwarder/lora-packet-forwarder.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes-connectivity/lora/lora-packet-forwarder') diff --git a/recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.init b/recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.init index 4780da6..99463f6 100755 --- a/recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.init +++ b/recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.init @@ -195,7 +195,7 @@ do_start() { echo -n "Starting $NAME: " /usr/sbin/start-stop-daemon --chdir $run_dir/1 --background --start --make-pidfile \ - --pidfile $pkt_fwd_pidfile --startas /bin/bash -- -c "exec $pkt_fwd $pkt_fwd_options &>$pkt_fwd_log" + --pidfile $pkt_fwd_pidfile --startas /bin/bash -- -c "exec $pkt_fwd $pkt_fwd_options" renice -n -20 -p $(pgrep $(basename $pkt_fwd)) -- cgit v1.2.3