summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2019-09-19 08:11:24 -0500
committerJohn Klug <john.klug@multitech.com>2019-11-11 11:34:07 -0600
commit405ba159c2cbf50e7d62ca00ab3814b15d2b0b0e (patch)
tree68fdef088d04aa3f47be5aca65a3e2df626d34da
parentd731619f79291cc4a34e1e02b64ca1e0a56a0f64 (diff)
downloadmeta-mlinux-405ba159c2cbf50e7d62ca00ab3814b15d2b0b0e.tar.gz
meta-mlinux-405ba159c2cbf50e7d62ca00ab3814b15d2b0b0e.tar.bz2
meta-mlinux-405ba159c2cbf50e7d62ca00ab3814b15d2b0b0e.zip
lora: update lora-logging for PKF rotating
-rw-r--r--recipes-connectivity/lora/lora-logging/lora-logging.logrotate.conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-connectivity/lora/lora-logging/lora-logging.logrotate.conf b/recipes-connectivity/lora/lora-logging/lora-logging.logrotate.conf
index f425c00..5f26561 100644
--- a/recipes-connectivity/lora/lora-logging/lora-logging.logrotate.conf
+++ b/recipes-connectivity/lora/lora-logging/lora-logging.logrotate.conf
@@ -5,6 +5,8 @@
copytruncate
missingok
postrotate
- killall -SIGHUP lora-network-server
+ set -e;
+ /usr/bin/killall -HUP lora_pkt_fwd || true;
+ /usr/bin/killall -HUP lora-network-server || true;
endscript
}