Line 72: |
Line 72: |
| config setprop rh-mongodb26-mongod TCPPort 27017 | | config setprop rh-mongodb26-mongod TCPPort 27017 |
| signal-event remoteaccess-update | | signal-event remoteaccess-update |
− |
| |
− | ===Create boot scripts for the Software Collections applications===
| |
− | {{Note box|WIP, it seems it is not required to execute boot scripts for SCL collections if used by a specific application only. This would mean that you can skip the creation of boot scripts and add the directive 'source /opt/scl/blah/blah/enable' to the init script of rocketchat for each of the required scl apps. More to follow after some tests.}}
| |
− | nano -w /etc/profile.d/scls-rh-mongodb26.sh
| |
− | #!/bin/sh
| |
− | source /opt/rh/rh-mongodb26/enable
| |
− | export X_SCLS="`scl enable rh-mongodb26 'echo $X_SCLS'`"
| |
− |
| |
− | nano -w /etc/profile.d/scls-rh-python34.sh
| |
− | #!/bin/sh
| |
− | source /opt/rh/rh-python34/enable
| |
− | export X_SCLS="`scl enable rh-python34 'echo $X_SCLS'`"
| |
− |
| |
− | nano -w /etc/profile.d/scls-rh-java-common.sh
| |
− | #!/bin/sh
| |
− | source /opt/rh/rh-java-common/enable
| |
− | export X_SCLS="`scl enable rh-java-common 'echo $X_SCLS'`"
| |
− |
| |
− | nano -w /etc/profile.d/scls-nodejs010.sh
| |
− | #!/bin/sh
| |
− | source /opt/rh/nodejs010/enable
| |
− | export X_SCLS="`scl enable nodejs010 'echo $X_SCLS'`"
| |
− |
| |
− | A reboot at this point is required to load all of the Software Collections profile/config files.
| |
− | signal-event reboot
| |
| | | |
| == Installation of Rocket.Chat== | | == Installation of Rocket.Chat== |