summaryrefslogtreecommitdiff
path: root/recipes-connectivity/lora/lora-network-server
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2018-03-20 13:56:55 -0500
committerJohn Klug <john.klug@multitech.com>2018-03-22 12:25:59 -0500
commit797267d0479fe068e30457cfeefa10800ded4873 (patch)
tree938be75606bd81fb2e3afb1cd3ac116299d070c3 /recipes-connectivity/lora/lora-network-server
parent7945c14ac109bd38c6fd2481fd10b4a4b91582a3 (diff)
downloadmeta-mlinux-797267d0479fe068e30457cfeefa10800ded4873.tar.gz
meta-mlinux-797267d0479fe068e30457cfeefa10800ded4873.tar.bz2
meta-mlinux-797267d0479fe068e30457cfeefa10800ded4873.zip
lora: adjust network server init script start-stop-daemon retry param to allow time to backup database before being killed
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 dec846f..e50d5a8 100755
--- a/recipes-connectivity/lora/lora-network-server/lora-network-server.init
+++ b/recipes-connectivity/lora/lora-network-server/lora-network-server.init
@@ -135,7 +135,7 @@ do_start() {
do_stop() {
echo -n "Stopping $NAME: "
- start-stop-daemon --stop --quiet --oknodo --pidfile $net_server_pidfile --retry 15
+ start-stop-daemon --stop --quiet --oknodo --pidfile $net_server_pidfile --retry TERM/60/KILL/5
start-stop-daemon --stop --quiet --oknodo --pidfile $pkt_fwd_pidfile --retry 5
rm -f $net_server_pidfile $pkt_fwd_pidfile
echo "OK"