Skip to content

Instantly share code, notes, and snippets.

@daangemist
Created June 12, 2017 07:55
Show Gist options
  • Save daangemist/d538a0c592ddf5d04a40dc7d2eda5fb3 to your computer and use it in GitHub Desktop.
Save daangemist/d538a0c592ddf5d04a40dc7d2eda5fb3 to your computer and use it in GitHub Desktop.
PM2 configuration for localtunnel-server
{
"name": "localtunnel",
"script": "bin/server",
"args": "--port=1234 --host=example.com",
"cwd": "/opt/localtunnel",
"env": {
"DEBUG": "localtunnel*",
"NODE_ENV": "production"
},
"error_file": "/mnt/usbstick2/logs/lt-error.log",
"out_file": "/mnt/usbstick2/logs/lt-out.log"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment