Skip to content

Instantly share code, notes, and snippets.

@dcsan
Created January 30, 2017 06:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dcsan/fc9455ca62037edda8c61ea4de37cad1 to your computer and use it in GitHub Desktop.
Save dcsan/fc9455ca62037edda8c61ea4de37cad1 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
set -x
APP_NAME=$1
echo "logs for APP ${APP_NAME}"
ssh ubuntu@bots.rikai-bots.com "pm2 logs author.${APP_NAME}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment