theara
June 16, 2018, 6:26am
1
I tried to use Custom Deployment
on DigitalOcean.
Running Meteor with local terminal
// bundle
MONGO_URL=mongodb://localhost:27017/myapp ROOT_URL=http://1.2.3.4 PORT=3000 node main.js
I work fine, but It stop running when I closed Shell/Terminal
(Local PC).
Please help me to keep Running
after closed shell/terminal
You want the instance to keep running after you say bye to ssh?
$ sudo apt install tmux
$ tmux new -s myMeteor
$ tmux attach
once you are in your tmux virtual terminal, change to your folder and run the meteor instance again.
To detach that virtual terminal, press Ctrl + b, d
Have a go
theara
June 17, 2018, 11:03am
3
thanks for your reply, Now I used PM2
.
It work fine