Last active
August 29, 2015 14:00
-
-
Save kuropen/11321818 to your computer and use it in GitHub Desktop.
Shell script to execute a node.js script with daemonized by forever which is installed under management of nodebrew
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 | |
cd /home/kuropen1/nodehost/elecwarn3-web | |
PORT=61595 /home/kuropen1/.nodebrew/current/bin/forever start -c /home/kuropen1/.nodebrew/current/bin/node app.js > ~/tmp/forever-start.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment