Manually Register a Daemon on an HP-UX System
1. Log on to the system as the root user.
2. In the /sbin/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 /sbin/init.d/sagoptional_unique_numberrc-script_name
5. Register the daemon by running these commands:
ln -s /sbin/init.d/init-script_name /sbin/rc2.d/S020init-script_name
ln -s /sbin/init.d/init-script_name /sbin/rc2.d/K020init-script_name
ln -s /sbin/init.d/init-script_name /sbin/rc3.d/S020init-script_name
ln -s /sbin/init.d/init-script_name /sbin/rc3.d/K020init-script_name