Skip to content

Instantly share code, notes, and snippets.

@dcsan
Created January 30, 2017 06:50
Show Gist options
  • 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 [email protected] "pm2 logs author.${APP_NAME}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment