diff options
author | Jason Reiss <jreiss@multitech.com> | 2018-11-06 14:23:38 -0600 |
---|---|---|
committer | Jason Reiss <jreiss@multitech.com> | 2018-11-06 14:23:38 -0600 |
commit | f74209ba18fc80288ab07b7bc8be9431dfad60ee (patch) | |
tree | 30e6dff8d4f63dfce7827db488a71b9919c73d72 /recipes-connectivity/lora/lora-network-server | |
parent | 59655cc5f8ed4c95edd8ce46208f429188eb0852 (diff) | |
download | meta-mlinux-f74209ba18fc80288ab07b7bc8be9431dfad60ee.tar.gz meta-mlinux-f74209ba18fc80288ab07b7bc8be9431dfad60ee.tar.bz2 meta-mlinux-f74209ba18fc80288ab07b7bc8be9431dfad60ee.zip |
lora: turn-off default packet forwarder logging, does not work with logrotate
Diffstat (limited to 'recipes-connectivity/lora/lora-network-server')
-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 2009fd8..a55be0b 100755 --- a/recipes-connectivity/lora/lora-network-server/lora-network-server.init +++ b/recipes-connectivity/lora/lora-network-server/lora-network-server.init @@ -125,7 +125,7 @@ do_start() { # start packet forwarder /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_log" + --pidfile $pkt_fwd_pidfile --startas /bin/bash -- -c "exec $pkt_fwd " renice -n -20 -p $(pgrep lora-network-se) renice -n -20 -p $(pgrep $(basename $pkt_fwd)) |