Manually Register a Daemon on a Solaris System
1. Log on to the system as the root user.
2. In the /etc/init.d directory, create an init-script using the naming convention sagrc-script_name (for example, sagis_default99). If you need to create multiple init-scripts because you have multiple product instances on the same machine, use the naming convention sagunique_numberrc-script_name.
4. Execute this command:
chmod +x /etc/init.d/sagoptional_unique_numberrc-script_name
5. Register the daemon by running these commands:
ln -s /etc/init.d/init-script_name /etc/rc2.d/S020init-script_name
ln -s /etc/init.d/init-script_name /etc/rc0.d/K020init-script_name
ln -s /etc/init.d/init-script_name /etc/rc1.d/K020init-script_name
ln -s /etc/init.d/init-script_name /etc/rcS.d/K020init-script_name