#!/usr/bin/bash export STEP=step-12 export PATH=/command:/web/servers/ns-debug-${STEP}/bin:/usr/local/pgsql/bin:/usr/bin:/bin export LD_LIBRARY_PATH=/usr/local/pgsql/lib:/web/servers/ns-debug-${STEP}/lib:/usr/local/lib:/usr/lib:/lib:/usr/lib64:/lib64 export ODBCINC=/etc/odbc.ini export BINDSERVERS=159.65.239.18:79,159.65.239.18:442,127.0.0.1:79,127.0.0.1:442 NSUSER=russell NSGROUP=web CONFIG_FILE=hfd-79-for-external.tcl # Sleeping a long time so that the database will start first. sleep 4 ;#this is not handled in systemd services exec 2>&1 exec /web/servers/ns-debug-${STEP}/bin/nsd -b $BINDSERVERS -u $NSUSER -g $NSGROUP -f -t /web/servers/ns-debug-${STEP}/conf/$CONFIG_FILE