diff --git a/apxtri/apxtri.js b/apxtri/apxtri.js index 1c76a33..dd815cf 100755 --- a/apxtri/apxtri.js +++ b/apxtri/apxtri.js @@ -196,7 +196,7 @@ apxtri.setuptribe = async (tribe, conf) => { // this command is ran by the setup.sh // grep -q '^127.0.0.1 adminapx.adminapi' /etc/hosts || echo '127.0.0.1 adminapx.adminapi' | sudo tee -a /etc/hosts > /dev/null const ips = await getip(); - const nginrestart = inittribe.nginx.restart + const nginxrestart = inittribe.nginx.restart ? inittribe.nginx.restart : fs.readJSONSync("../adminapi/apxtri/setup/initadminapi.json").nginx .restart;