Answer the question
In order to leave comments, you need to log in
How to start PhantomJS on server start?
Hello everyone,
I need to run PhantomJS with the angular-seo script when starting the server. From the shell this command looks like this -
$ phantomjs --disk-cache=no angular-seo-server.js 8888 localhost:8000/myapp
But it stops waiting for Ctrl-C. As far as I understand, if you just put it in /etc/rc.local, the execution of commands on it will stop.
How to properly launch PhantomJS on server startup?
Answer the question
In order to leave comments, you need to log in
I use supervisor for such purposes , I create a service, it starts automatically.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question