Changes

From SME Server
Jump to navigationJump to search
108 bytes added ,  03:41, 22 April 2016
Line 149: Line 149:  
The created init script '/etc/rc.d/init.d/rocketchat' is not aware that we use [[Software Collections]], so we have to add a directive to the init script that we do:
 
The created init script '/etc/rc.d/init.d/rocketchat' is not aware that we use [[Software Collections]], so we have to add a directive to the init script that we do:
 
  sed -i '25 a source /etc/profile.d/scls-nodejs010.sh' /etc/rc.d/init.d/rocketchat
 
  sed -i '25 a source /etc/profile.d/scls-nodejs010.sh' /etc/rc.d/init.d/rocketchat
 +
 +
Now we can create a link to the SME Server way of starting services:
 +
ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S99rocketchat
    
Now you can start/stop/status /etc/rc.d/init.d/rocketchat e.g.:
 
Now you can start/stop/status /etc/rc.d/init.d/rocketchat e.g.:
  /etc/rc.d/init.d/rocketchat status
+
  service rocketchat status
  /etc/rc.d/init.d/rocketchat start
+
  service rocketchat start
  /etc/rc.d/init.d/rocketchat stop
+
  service rocketchat stop
    
===LDAP Authentication===
 
===LDAP Authentication===

Navigation menu