forgot to enable natsapi during install
This commit is contained in:
parent
a7b6d338c3
commit
ada627f444
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue