echo-ix/deploy.sh

8 lines
210 B
Bash
Executable File

#!/bin/bash
set -e
echo "=== Echo-IX Deploy ==="
pm2 delete echo-ix 2>/dev/null || true
IX_HOST=${IX_HOST:-127.0.0.1} IX_PORT=${IX_PORT:-8081} pm2 start server.js --name echo-ix
pm2 save
echo "Echo-IX running"