This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Karl Feaux wrote: > > Hi Anne, > > Just wondering if you located an ldm shutdown script? > > Thanks, > > Karl Hi Karl, So, as I wrote before, the script that we make available has a 'stop' option to it, so another script is not necessary. I think we discussed on the phone how to invoke the script at boot time, but I'll write it here for the purpose of getting this into the support archive. To have the script invoked at run time, put it in one of the latest runtime configuration directories (so that other system services will be started before the LDM). On our machines we have it in /etc/rc3.d. There is it named S95ldmd - the 'S' means it will be invoked with the 'start' argument, the '95' determines the order in which it will be run, specifically, it will be invoked after all the S?? scripts with numbers less than 95. To have the script invoked at shut down time, make a link to the script and call it K95ldmd. Then, it at shutdown time that script will be invoked with a 'stop' option. For the record, the directory /etc/init.d usually contains links to all the scripts that are run at start up time. I guess they do this because it's convenient to also have all the scripts in one place. Our sys admin tells me that Solaris machines use hard links for these scripts, while all others use soft links. I don't know why. Hope this helps! Anne -- *************************************************** Anne Wilson UCAR Unidata Program address@hidden P.O. Box 3000 Boulder, CO 80307 ---------------------------------------------------- Unidata WWW server http://www.unidata.ucar.edu/ ****************************************************