(The file, in this example ns-ldap, must have the same name as your init-script in<nobr> <wbr></nobr>/etc/init.d)
Be aware that if this file doesn't exist, the daemon WILL NOT be stopped at shutdown/reboot. This can be potentially hazardous, if your application does essential cleanup at shutdown.
Likewise, if this file exists at boot, many daemons WILL NOT start.
Potential hazard in Redhat init-scripts
Posted by: Anonymous Coward on August 11, 2005 05:20 PMtouch<nobr> <wbr></nobr>/var/lock/subsys/ns-ldap
rm -f<nobr> <wbr></nobr>/var/lock/subsys/ns-ldap
(The file, in this example ns-ldap, must have the same name as your init-script in<nobr> <wbr></nobr>/etc/init.d)
Be aware that if this file doesn't exist, the daemon WILL NOT be stopped at shutdown/reboot. This can be potentially hazardous, if your application does essential cleanup at shutdown.
Likewise, if this file exists at boot, many daemons WILL NOT start.
#