summaryrefslogtreecommitdiff
path: root/recipes-connectivity/lora/lora-network-server
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2018-05-21 10:43:55 -0500
committerJason Reiss <jreiss@multitech.com>2018-05-21 10:43:55 -0500
commit2d19c4d653ec6b52df7ef15771edec5374eaf32e (patch)
tree70acde29949b48c951e790381c9eae356e187990 /recipes-connectivity/lora/lora-network-server
parent8959ea2dd7f1c4f75ee90a198610839b854a2e07 (diff)
downloadmeta-mlinux-2d19c4d653ec6b52df7ef15771edec5374eaf32e.tar.gz
meta-mlinux-2d19c4d653ec6b52df7ef15771edec5374eaf32e.tar.bz2
meta-mlinux-2d19c4d653ec6b52df7ef15771edec5374eaf32e.zip
lora: add packet forwarder logging and rotation configuration
Diffstat (limited to 'recipes-connectivity/lora/lora-network-server')
-rwxr-xr-xrecipes-connectivity/lora/lora-network-server/lora-network-server.init2
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 e50d5a8..b625097 100755
--- a/recipes-connectivity/lora/lora-network-server/lora-network-server.init
+++ b/recipes-connectivity/lora/lora-network-server/lora-network-server.init
@@ -123,7 +123,7 @@ do_start() {
sleep 2
# 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"
+ --pidfile $pkt_fwd_pidfile --startas /bin/bash -- -c "exec $pkt_fwd &>$pkt_fwd_log"
renice -n -20 -p $(pgrep lora-network-se)
renice -n -20 -p $(pgrep $(basename $pkt_fwd))