Skip to content

Instantly share code, notes, and snippets.

@RichStone
Created December 11, 2024 15:54
Show Gist options
  • Select an option

  • Save RichStone/ed9877fdd5668421dfbf876d989c10e7 to your computer and use it in GitHub Desktop.

Select an option

Save RichStone/ed9877fdd5668421dfbf876d989c10e7 to your computer and use it in GitHub Desktop.
`make start-all-overmind` hacked out
#!/bin/bash
# Check if cloudflared is running
if ! pgrep -f "cloudflared tunnel"; then
cloudflared tunnel --loglevel debug run --url http://localhost:5010 richsteinmetzlocaldev &
else
echo "cloudflared is already running."
fi
# Check if webpacker-start is running
if ! pgrep -f "webpacker-start"; then
make webpacker-start &
else
echo "webpacker-start is already running."
fi
# Start all overmind
make web-start-overmind
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment