Setting up scripts to automatically start processes

The following example shows how to set up an /etc/rc2.d script.

Procedure

  1. Set up a symbolic link in /etc/rc2.d:

    /etc/rc2.d/S##rational --> /etc/init.d/rational

  2. Ensure that the pound signs (##) reflect the order in which operations are performed.
  3. Replace ## with a two-digit decimal, such as 98.

    Make this value high so that everything else (for example, NFS) is started before the Rational® Synergy daemons are started. S## does not have to be different from K##.

    rc2.d represents the run level of the operation. Level 2 startup is the standard.

    During startup, the process automatically sends the appropriate argument ("start").


Feedback