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-packet-forwarder | |
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-packet-forwarder')
-rwxr-xr-x | recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.init | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |