#!/bin/bash # # This permits to pass options to node # Usefull if you want to activate the --harmony options for example # # export PM2_NODE_OPTIONS='--harmony' # # Will modify basepath # # export PM2_MODIFY_REQUIRE=false # # # This it's the timeout used for the process to graceful exit everything # if it doesnt kill itself # # export PM2_GRACEFUL_TIMEOUT=4000 # # Change port for `pm2 web` # # export PM2_API_PORT=9615 # # If you want to run pm2 in debug mode # # export DEBUG=false # export PM2_RPC_PORT=6666 # export PM2_PUB_PORT=6667 # export PM2_BIND_ADDR='localhost' # PM2_PID_DIR # PM2_LOG_DIR