summaryrefslogtreecommitdiff
path: root/recipes-connectivity/lora/lora-logging
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2019-09-19 08:11:24 -0500
committerJason Reiss <jreiss@multitech.com>2019-09-19 08:11:24 -0500
commitb986f8417cfcffd911ca20c3395c6233e3b9f089 (patch)
tree3a326390b2583c75dbe99945253c32f70a139dee /recipes-connectivity/lora/lora-logging
parent270273e6e92969dbedb39cfd3ea2b7e4e3dc4ce1 (diff)
downloadmeta-mlinux-b986f8417cfcffd911ca20c3395c6233e3b9f089.tar.gz
meta-mlinux-b986f8417cfcffd911ca20c3395c6233e3b9f089.tar.bz2
meta-mlinux-b986f8417cfcffd911ca20c3395c6233e3b9f089.zip
lora: update lora-logging for PKF rotating
Diffstat (limited to 'recipes-connectivity/lora/lora-logging')
-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
}