Вопрос

I'm deploying the starter project https://github.com/DaftMonk/generator-angular-fullstack (the most popular yeoman generator). I've build and served the project on a remote ubuntu 14.01 server using the command:

 grunt serve:dist

Everything works great... until I terminate the ssh session. Has anyone successfully run this generator project as a daemon? Thanks!

Это было полезно?

Решение

You can use nohup.

nohup  grunt serve:dist &

Check nohup man page

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top