pm2/lib/custom_options.sh

29 lines
525 B
Bash

#!/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 GRACEFUL_TIMEOUT=4000
#
# If you want to run pm2 in debug mode
#
# export DEBUG=false
# export DAEMON_RPC_PORT=6666
# export DAEMON_PUB_PORT=6667
# export DAEMON_BIND_HOST='localhost'