Last active
September 2, 2016 15:50
-
-
Save sbalay/7aec2aaff1708c6f183d3e21fe76a5cd to your computer and use it in GitHub Desktop.
bash script to start prerender
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Starts forever after boot through /etc/rc.local. Set the node version in the following script properly. | |
/home/<user>/.nvm/versions/node/<node version>/bin/forever start /home/<user>/<path to prerender>/server.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment