Switched forever.js to pm2

Updated winston
This commit is contained in:
Isaac Abadi
2021-09-26 02:40:05 -06:00
parent 5dd48035fb
commit 46087f622e
5 changed files with 69 additions and 85 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/sh
set -eu
CMD="forever app.js"
CMD="pm2-runtime ecosystem.config.js"
# if the first arg starts with "-" pass it to program
if [ "${1#-}" != "$1" ]; then