Files
Igor Lins e Silva a5558cbe0e merge update
2020-01-24 15:55:45 -03:00

10 lines
171 B
Bash

#!/usr/bin/env bash
if [ $# -eq 0 ]; then
echo 'Please inform the app name. ex: "./run.sh indexer"'
exit 1
fi
pm2 start --only "$@" --update-env
pm2 logs --raw "$@"