UNOMP / unified-node-open-mining-portal

Development stopped and is now unsupported. The node.js version is being deprecated in October 2016.
GNU General Public License v2.0
347 stars 395 forks source link

Auto-Start #273

Open XFactordx opened 6 years ago

XFactordx commented 6 years ago

Is anyone else having issues with UNOMP starting on its own after a reboot?

In order to start UNOMP successfully I have to run nvm install 0.10.25 and nvm use 0.10.25 every single time the server is restarted. I'm not able to run these commands using a script, it has to be run from manually, followed by npm rebuild and npm update, and finally node init.js.

Is there a way to automate the nvm commands on startup?

AndreyNag commented 6 years ago

For example add to /etc/rc.local: /usr/bin/forever start -p /root/.forever/ --workingDir /opt/unomp/ /opt/unomp/init.js

heginbotham1 commented 6 years ago

Just use screen