diff --git a/conf/copycerts.sh.example.inc b/conf/copycerts.sh.example.inc index dc5ce10f..51b6e39d 100755 --- a/conf/copycerts.sh.example.inc +++ b/conf/copycerts.sh.example.inc @@ -1,13 +1,15 @@ #!/usr/bin/env bash ## Comma-seperated for multiple sites -local COPYCERT="hostgname.domain.com" +local COPYCERT="hostname.domain.com" ## Comma-seperated, in same order as above local CERTFOLDER="/local/cert/path" -## Commands to run if cert is replaced COPYCERTS_POST_COMMANDS(){ + ## + ## Commands to run if cert is replaced + ## SERVICE_MGMT nginx reload } diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index de368b05..eb226a67 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -419,14 +419,14 @@ NODEUPDATE(){ ssh-copy-id root@${nip} fi if ! ${NCMD} command -v nodemgmt > /dev/null 2>&1; then - echo 'yes' ${NCMD} "bash <(curl -sL https://go.scity.us/install-nodemgmt)" &1 ${NMCMD} rsync -az ${NM_FOLDER}/conf/*.inc ${NM_FOLDER}/conf/*.conf root@${nip}:${NM_FOLDER}/conf/ &1 ${NMCMD} rsync -az ${NM_FOLDER}/conf/powerwall ${NM_FOLDER}/conf/*.conf root@${nip}:${NM_FOLDER}/conf/ &1 sleep 2s source /opt/idssys/nodemgmt/conf/settings.conf source /opt/idssys/nodemgmt/defaults.inc - [ "${NM_GITPASS}" != "" ] && [ "${NM_GITUSER^^}" == "VOLTRON" ] && ${NMCMD} "bash <(curl -sL https://go.scity.us/add-linux-pass)" &1 + # [ "${NM_GITPASS}" != "" ] && [ "${NM_GITUSER^^}" == "VOLTRON" ] && + ${NMCMD} "bash <(curl -sL https://go.scity.us/add-linux-pass)" &1 echo -e "${idsCL[Green]}Installed & Synced${idsCL[Default]}" >> ${tmpfile}.running elif [ ${noup} -eq 1 ]; then echo -e "${idsCL[Green]}Already Installed${idsCL[Default]}" >> ${tmpfile}.running