Timoney, Daniel (dt5972) | 324ee36 | 2017-02-15 10:37:53 -0500 | [diff] [blame] | 1 | #!/bin/bash |
2 | |||||
3 | . /etc/attappl.env | ||||
4 | . ${PROJECT_HOME}/etc/default.env | ||||
5 | . ${PROJECT_HOME}/siteconfig/siteconf.info | ||||
6 | |||||
7 | # only run on primary adm vm | ||||
8 | # ${Rank} comes from siteconf.info | ||||
9 | if [ ${Rank} == '1' ]; then | ||||
10 | cd /opt/admportal/server | ||||
11 | node ./netdb_updater.js -t ${1} -d ${2} >/dev/null 2>&1 | ||||
12 | fi |