denperss

process.json

Aug 26th, 2023 (edited)
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.07 KB | None | 0 0
  1. {
  2.   "name"             : "pagermon",
  3.   "cwd"              : "/home/pi/pagermon/server",
  4.   "script"           : "app.js",
  5.   "node_args"        : ["--harmony"],
  6.   "error_file"       : "logs/node-app.stderr.log",
  7.   "out_file"         : "logs/node-app.stdout.log",
  8.   "pid_file"         : "pids/node-geo-api.pid",
  9.   "instances"        : 1, //or 0 => 'max'
  10.   "min_uptime"       : "200s", // 200 seconds, defaults to 1000
  11.   "max_restarts"     : 10, // defaults to 15
  12.   "max_memory_restart": "100M", // 1 megabytes, e.g.: "2G", "10M", "100K", 1024 the default unit is byte.
  13.   "cron_restart"     : "1 0 * * *",
  14.   "watch"            : false,
  15.   "ignore_watch"      : ["[\\/\\\\]\\./", "node_modules", "config", "logs"],
  16.   "merge_logs"       : true,
  17.   "exec_interpreter" : "node",
  18.   "autorestart"      : true, // enable/disable automatic restart when an app crashes or exits
  19.   "vizion"           : false, // enable/disable vizion features (versioning control)
  20.   "env": {
  21.     "NODE_ENV": "production",
  22.     "HOSTNAME": "",
  23.     "USE_COOKIE_HOST": false,
  24.     "APP_NAME": "pagermon"
  25.   }
  26. }
  27.  
Add Comment
Please, Sign In to add comment