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.
John, If it works, use it. Our systems administrator doesn't like systemd(8) either. > Thanks Steve. I got it working using baling wire and gum. > To shut LDM down I use this (the sleep prior to stopping seems necessary to > get a graceful shutdown in the ldmd.log. 10 sec wasn’t enough): > > # cat /etc/systemd/system/ldm.service > > [Unit] > > Description=ShutdownLDM_Before_Reboot > > > > [Service] > > Type=oneshot > > RemainAfterExit=true > > ExecStop=/bin/sleep 15 > > User=ldm > > ExecStop=/home/ldm/util/stopLDM.sh > > ExecStop=/bin/sleep 5 > > > > [Install] > > WantedBy=multi-user.target > > _______________________________________________________________________________ > > > > To start LDM I chose this (in the startLDM.sh I perform a delqueue and > mkqueue as well as proactively delete the pid file before starting LDM): > > @reboot . /home/ldm/.bash_profile; sleep 30 && /home/ldm/util/startLDM.sh Regards, Steve Emmerson Ticket Details =================== Ticket ID: RTW-225800 Department: Support LDM Priority: Normal Status: Closed =================== NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.