diff --git a/install.sh b/install.sh index 5eb3103e..adf33c58 100644 --- a/install.sh +++ b/install.sh @@ -788,6 +788,7 @@ sleep 5 MESHEXE=$(node node_modules/meshcentral/meshctrl.js --url wss://${meshdomain}:443 --loginuser ${meshusername} --loginpass ${MESHPASSWD} GenerateInviteLink --group TacticalRMM --hours 8) sudo systemctl enable nats.service +sudo systemctl enable natsapi.service cd /rmm/api/tacticalrmm source /rmm/api/env/bin/activate python manage.py initial_db_setup diff --git a/update.sh b/update.sh index d6f9a20e..813413c1 100644 --- a/update.sh +++ b/update.sh @@ -165,6 +165,9 @@ printf >&2 "${GREEN}Stopping ${i} service...${NC}\n" sudo systemctl stop ${i} done +# forgot to add this in install script. catch any installs that don't have it enabled and enable it +sudo systemctl enable natsapi.service + CHECK_NGINX_WORKER_CONN=$(grep "worker_connections 2048" /etc/nginx/nginx.conf) if ! [[ $CHECK_NGINX_WORKER_CONN ]]; then printf >&2 "${GREEN}Changing nginx worker connections to 2048${NC}\n"