In documents, the procedure for launching a meteorite on your own server is to run
meteor bundle bundle.tgz
Then extract this archive.
tar -xzvf bundle.tgz
Then start the node server
MONGO_URL=mongodb://localhost:27017/<dbname> PORT=<server_port> ROOT_URL=http://sub.example.com/ node bundle/main.js
I try to use forever to support the node server, but when I run the following command (features are hidden), the eternal process does not return, and I need CTRL + C to return to the command line - very unusual.
MONGO_URL=mongodb://localhost:27017/<dbname> PORT=<server_port> ROOT_URL=http://sub.example.com/ forever bundle/main.js
If I add an ampersand to start the process in the background, I will return to the command line and everything will look fine, but it will not generate any logs or pid files forever, and ultimately the process will die forever.
source share