Changes

Jump to navigation Jump to search
41 bytes added ,  19:45, 21 April 2016
Line 138: Line 138:  
  npm install -g forever
 
  npm install -g forever
 
  npm install -g forever-service
 
  npm install -g forever-service
Since SME Server has put it's name in /etc/system-release, the forever utility will not be able to detect the main distribution name (e.g. CentOS) and will exit with an error. To add 'SME Server' to the list of recognised distributions so that the forever-service tool will run properly, is to execute the following command:
+
Since SME Server has put it's name in /etc/system-release, the forever utility will not be able to detect the main distribution name (e.g. CentOS) and will exit with an error. To add 'SME Server' to the list of recognised distributions so that the forever-service tool will run properly, is to execute the following command (don;t be disturbed by the Oracle thing):
 
  sed -i -e 's/(Oracle Linux)/(Oracle Linux)|(SME Server)/' \
 
  sed -i -e 's/(Oracle Linux)/(Oracle Linux)|(SME Server)/' \
 
  /opt/rh/nodejs010/root/usr/lib/node_modules/forever-service/templates/sysvinit/installer.js
 
  /opt/rh/nodejs010/root/usr/lib/node_modules/forever-service/templates/sysvinit/installer.js

Navigation menu