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/ .
-
Download the attached elx-repertoire script.
-
Edit the correct path of REP_HOME, user name and password in your script file.
-
Copy elx-repertoire to /etc/init.d/.
-
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 ".
-
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 -
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)