express-template/pm2.sh

7 lines
92 B
Bash

#!/bin/sh
export NODE_ENV=production
pm2 start --name express-template ./www -i 0
pm2 log