1
0
mirror of https://github.com/mainflux/mainflux.git synced 2025-04-28 13:48:49 +08:00
Mainflux.mainflux/bin/launch_mainflux_binaries.sh
Dejan Mijic 311fe29dc4
Remove lora-related artifacts
Signed-off-by: Dejan Mijic <dejan@mainflux.com>
2017-09-22 23:17:04 +02:00

27 lines
418 B
Bash
Executable File

#!/bin/bash
###
# Launches all Mainflux Go binaries
# when they are installed globally.
#
# Expects that influxDB and MongoDB are already installed and running.
#
# Does not launch NodeJS MQTT service - this one must be launched by hand for now.
###
# Kil all mainflux-* stuff
function cleanup {
pkill mainflux
}
gnatsd &
http-adapter &
message-writer &
manager &
trap cleanup EXIT
while : ; do sleep 1 ; done