Changes

Jump to navigation Jump to search
1 byte added ,  13:06, 21 April 2016
Line 140: Line 140:  
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:
 
  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
 
and then generate the init script 'rocketchat' that will automatically be placed into /etc/rc.d/init.d:
 
and then generate the init script 'rocketchat' that will automatically be placed into /etc/rc.d/init.d:
 
  cd /opt/Rocket.Chat
 
  cd /opt/Rocket.Chat

Navigation menu