diff options
author | Jeff Hatch <jhatch@multitech.com> | 2018-11-07 13:41:07 -0600 |
---|---|---|
committer | Jeff Hatch <jhatch@multitech.com> | 2018-11-07 13:41:07 -0600 |
commit | f1914677135cd27e6bfefa7c069942a64f540ed3 (patch) | |
tree | c1fcb64f7a62c39a737aa6bdb7b7f6131c821dc6 /recipes-connectivity | |
parent | 5cf450389e8ebfcbe5ed19868ddb3615cd68e465 (diff) | |
parent | 168786331f7512dad56c6a755295a3f4624a7fbb (diff) | |
download | meta-mlinux-17a2ebb9cd2a88289eb5b9eef3c287da19547c66.tar.gz meta-mlinux-17a2ebb9cd2a88289eb5b9eef3c287da19547c66.tar.bz2 meta-mlinux-17a2ebb9cd2a88289eb5b9eef3c287da19547c66.zip |
Merge branch 'master' of gitlab.multitech.net:mirrors/meta-mlinux4.1.0
Diffstat (limited to 'recipes-connectivity')
5 files changed, 7 insertions, 4 deletions
diff --git a/recipes-connectivity/lora/lora-logging.bb b/recipes-connectivity/lora/lora-logging.bb index 67b4099..201c0cc 100644 --- a/recipes-connectivity/lora/lora-logging.bb +++ b/recipes-connectivity/lora/lora-logging.bb @@ -4,7 +4,7 @@ SECTION = "console/utils" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" DEPENDS = "" -PR = "r1" +PR = "r2" RDEPENDS_${PN} += "logrotate bash" SRC_URI = "file://lora-logging.logrotate.conf \ diff --git a/recipes-connectivity/lora/lora-logging/lora-logging.logrotate.conf b/recipes-connectivity/lora/lora-logging/lora-logging.logrotate.conf index 01a1cc0..f425c00 100644 --- a/recipes-connectivity/lora/lora-logging/lora-logging.logrotate.conf +++ b/recipes-connectivity/lora/lora-logging/lora-logging.logrotate.conf @@ -4,4 +4,7 @@ compress copytruncate missingok + postrotate + killall -SIGHUP lora-network-server + endscript } 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)) 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)) diff --git a/recipes-connectivity/lora/lora-packet-forwarder_4.0.1.bb b/recipes-connectivity/lora/lora-packet-forwarder_4.0.1.bb index c7644a9..e3f59ef 100644 --- a/recipes-connectivity/lora/lora-packet-forwarder_4.0.1.bb +++ b/recipes-connectivity/lora/lora-packet-forwarder_4.0.1.bb @@ -7,7 +7,7 @@ LICENSE = "Proprietary" LIC_FILES_CHKSUM = "file://LICENSE;md5=22af7693d7b76ef0fc76161c4be76c45" DEPENDS = "lora-gateway logrotate lora-logging" RDEPENDS_${PN} += "bash" -PR = "r13" +PR = "r15" SRCREV = "v${PV}" |