Open softshape opened 10 years ago
I also like to see a good solution to run this script as a daemon. Thank you!
On linux it can be set like this: nohup phantomjs --disk-cache=no angular-seo-server.js 8888 http://www.example.com/index.html > /dev/null 2>&1 &
Hi all,
a recommended way to run angular-seo is -
$ phantomjs --disk-cache=no angular-seo-server.js 8888 http://localhost:8000/myapp
But it waits for user input (Ctrl-C) and so I'm not sure it can be used in init.d scripts.
So what is the right way to run angular-seo when server starts?