Skip to content

Commit

Permalink
ci: fix launch all script
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgomesdev authored Oct 31, 2024
1 parent ba85827 commit 980c62c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions server/scripts/launch-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ done

printf "$START* Running at $(date)$RESET\n"

set -e

# Start Grafana stack

if [[ "$LAUNCH_GRAFANA" == "y" ]]; then
Expand Down Expand Up @@ -75,7 +73,8 @@ if [[ ! $ARE_PLUGINS_UPDATED ]]; then
printf "\n${INFO}Plugins are outdated...$RESET\n\n"
bash run-all.sh
else
if tmux has-session -t "RustyController plugins" 2>/dev/null; then
tmux has-session -t "RustyController plugins" 2>/dev/null
if [ $? != 0 ]; then
printf "\n${INFO}Plugins are not running, launching...$RESET\n\n"
bash run-all.sh
else
Expand Down

0 comments on commit 980c62c

Please sign in to comment.