Posts Tagged: script

Commands Linux CentOS
Nodejs Service Run on Server Reboot in Linux CentOS
January 2, 2018
0
,
My nodejs software is installed in /root/soccer/public_html/ folder. I have a .sh script that start the service of nodejs, the .sh script name: node_auto.sh which file content is as follows: ################################### #!/bin/bash # My first script echo “Expost node Path ” export NODE_PATH=”/usr/local/lib/node_modules/npm/node_modules” echo “Start ProGateway servere” forever start app.js forever list ########################### Linux Command […]