[Installation- Running Repertoire Server as Linux Service]

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

  1. Download the attached elx-repertoire script.

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

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

  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 ".

  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

  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

elx-repertoire.zip (638 Bytes)