Running Repertoire Server as Linux Service

To add the Repertoire service to auto start when the machine boots, the attached elx-repertoire script need to be placed in the /etc/init.d/ .

Step 1: Download and unzip the attached elx-repertoire.zip (638 Bytes) script.

Step 2: Edit the correct path of REP_HOME, user name and password in your script file.

Step 3: Copy elx-repertoire to /etc/init.d/.

Step 4: After you have copied elx-repertoire, go to /etc/init.d directory and make sure that it is executable by running " sudo chmod 755 elx-repertoire ".

Step 5: To add elx-repertoire to the services, type " sudo chkconfig --add elx-repertoire ".

         Then you will see as follow on your console..

         Adding system startup for /etc/init.d/elx-repertoire ...

         /etc/rc0.d/K20elx-repertoire -> ../init.d/elx-repertoire

         /etc/rc1.d/K20elx-repertoire -> ../init.d/elx-repertoire

         /etc/rc6.d/K20elx-repertoire -> ../init.d/elx-repertoire

         /etc/rc2.d/S20elx-repertoire -> ../init.d/elx-repertoire

         /etc/rc3.d/S20elx-repertoire -> ../init.d/elx-repertoire

         /etc/rc4.d/S20elx-repertoire -> ../init.d/elx-repertoire

         /etc/rc5.d/S20elx-repertoire -> ../init.d/elx-repertoire   

Step 6: To remove elx-repertoire form services, type " sudo chkconfig --del elx-repertoire ".

         Then you will see as follow on your console...

          Removing any system startup links for /etc/init.d/elx-repertoire ...

          /etc/rc0.d/K20elx-repertoire

          /etc/rc1.d/K20elx-repertoire

          /etc/rc2.d/S20elx-repertoire

          /etc/rc3.d/S20elx-repertoire

          /etc/rc4.d/S20elx-repertoire

          /etc/rc5.d/S20elx-repertoire

          /etc/rc6.d/K20elx-repertoire