diff --git a/apxtri/apxtri.js b/apxtri/apxtri.js index c64bd23..1c76a33 100755 --- a/apxtri/apxtri.js +++ b/apxtri/apxtri.js @@ -196,8 +196,8 @@ 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 = initadminapi.nginx.restart - ? initadminapi.nginx.restart + const nginrestart = inittribe.nginx.restart + ? inittribe.nginx.restart : fs.readJSONSync("../adminapi/apxtri/setup/initadminapi.json").nginx .restart; const { exec } = require("child_process");