Manually Register a Daemon on a SUSE Enterprise Server 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_default98). 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. Open the system file /etc/sysconfig/boot and check the RUN_PARALLEL variable.
If the variable is set to yes, you are running in parallel boot mode. Register the daemon by running this command:
insserv -f /etc/init.d/init-script_name
If the variable is set to no, you are running in non-parallel boot mode. Register the daemon by running these commands:
ln -s /etc/init.d/init-script_name /etc/rc.d/rc2.d/S020init-script_name
ln -s /etc/init.d/init-script_name /etc/rc.d/rc2.d/K020init-script_name
ln -s /etc/init.d/init-script_name /etc/rc.d/rc3.d/S020init-script_name
ln -s /etc/init.d/init-script_name /etc/rc.d/rc3.d/K020init-script_name
ln -s /etc/init.d/init-script_name /etc/rc.d/rc5.d/S020init-script_name
ln -s /etc/init.d/init-script_name /etc/rc.d/rc5.d/K020init-script_name