diff options
author | Jason Reiss <jreiss@multitech.com> | 2015-10-30 09:31:11 -0500 |
---|---|---|
committer | Jason Reiss <jreiss@multitech.com> | 2015-10-30 09:31:11 -0500 |
commit | 5220405fcd3cf5a105014ec585d1a9d610187308 (patch) | |
tree | 41dd725d5ba299773e883cc1f9be0f82ab2db22e /recipes-connectivity/lora/lora-network-server | |
parent | a7349bc103717685d6ec998393bd6500d8794cdb (diff) | |
download | meta-mlinux-5220405fcd3cf5a105014ec585d1a9d610187308.tar.gz meta-mlinux-5220405fcd3cf5a105014ec585d1a9d610187308.tar.bz2 meta-mlinux-5220405fcd3cf5a105014ec585d1a9d610187308.zip |
lora: update lora-network-server to 0.0.9
Diffstat (limited to 'recipes-connectivity/lora/lora-network-server')
-rwxr-xr-x | recipes-connectivity/lora/lora-network-server/lora-network-server.init | 10 |
1 files changed, 5 insertions, 5 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 099da38..0262aba 100755 --- a/recipes-connectivity/lora/lora-network-server/lora-network-server.init +++ b/recipes-connectivity/lora/lora-network-server/lora-network-server.init @@ -15,8 +15,8 @@ net_server_log=/var/log/lora-network-server.log net_server_pidfile=$run_dir/$NAME.pid pkt_fwd=/opt/lora/basic_pkt_fwd -pkt_fwd_log=/var/log/lora-pkt-fwd.log -pkt_fwd_pidfile=$run_dir/lora-pkt-fwd.pid +pkt_fwd_log=/var/log/lora-pkt-fwd-1.log +pkt_fwd_pidfile=$run_dir/lora-pkt-fwd-1.pid lora_us_id="MTAC-LORA-915" lora_eu_id="MTAC-LORA-868" @@ -52,17 +52,17 @@ do_start() { fi echo -n "Starting $NAME: " - mkdir -p $run_dir + mkdir -p $run_dir/1 # start network server start-stop-daemon --start --background --make-pidfile \ --pidfile $net_server_pidfile --exec $net_server -- \ -c $conf_file --lora-eui $lora_eui --lora-path $run_dir --db $conf_db \ --noconsole -l $net_server_log - sleep 1 + sleep 2 # start packet forwarder start-stop-daemon --start --background --make-pidfile \ --pidfile $pkt_fwd_pidfile --exec $pkt_fwd -- \ - -c $run_dir -l $pkt_fwd_log + -c $run_dir/1 -l $pkt_fwd_log echo "OK" } |