adding spy to wlv

This commit is contained in:
spacemandev 2022-12-18 23:23:31 -06:00
parent 69eb66e16e
commit 4dcb18a929
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -euo pipefail
# Check if Docker is running
docker ps > /dev/null #route error to console
echo "Docker is running"
# Start guardiand
npx pm2 delete spy 2> /dev/null || true
npx pm2 start 'bash spy_guardiand.bash' --name spy