1
0
mirror of https://github.com/mainflux/mainflux.git synced 2025-04-29 13:49:28 +08:00
Mainflux.mainflux/scripts/stop_services.sh
Drasko DRASKOVIC 890785baa1 Add script that stops system services
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2017-06-03 01:35:42 +02:00

12 lines
229 B
Bash
Executable File

#!/bin/bash
###
# Stops services on the local system prior to sunning containers
# in order to liberate binding ports
###
sudo service mongodb stop
sudo service influxdb stop
sudo service mosquitto stop
sudo service nginx stop