summaryrefslogtreecommitdiff
path: root/recipes-connectivity/lora/lora-network-server
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2016-09-02 07:31:40 -0500
committerJason Reiss <jreiss@multitech.com>2016-09-02 07:31:40 -0500
commit1ab31a83258a119b93c71b7b331ba463a870d7bd (patch)
tree1d5639610f48c6ad2481fa3f3a6ad8d99824d369 /recipes-connectivity/lora/lora-network-server
parentca697c01ef93c2a08493684b02656d3f93ca1a9d (diff)
downloadmeta-mlinux-1ab31a83258a119b93c71b7b331ba463a870d7bd.tar.gz
meta-mlinux-1ab31a83258a119b93c71b7b331ba463a870d7bd.tar.bz2
meta-mlinux-1ab31a83258a119b93c71b7b331ba463a870d7bd.zip
lora: update network server to 1.0.12, add license info to packet forwarder install
Diffstat (limited to 'recipes-connectivity/lora/lora-network-server')
-rwxr-xr-xrecipes-connectivity/lora/lora-network-server/lora-network-server.init4
1 files changed, 2 insertions, 2 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 4baad10..4b80dc7 100755
--- a/recipes-connectivity/lora/lora-network-server/lora-network-server.init
+++ b/recipes-connectivity/lora/lora-network-server/lora-network-server.init
@@ -55,9 +55,9 @@ do_start() {
mkdir -p $run_dir/1
# start network server
start-stop-daemon --start --background --make-pidfile \
- --pidfile $net_server_pidfile --exec $net_server -- \
+ --pidfile $net_server_pidfile --startas /bin/bash -- -c "exec $net_server \
-c $conf_file --lora-eui $lora_eui --lora-path $run_dir --db $conf_db \
- --noconsole -l $net_server_log
+ --noconsole -l $net_server_log >> $net_server_log 2>&1"
sleep 2
# start packet forwarder
start-stop-daemon --start --background --make-pidfile \