Whenever there is maintenance activity in the JIFFY.ai core server or application upgrades etc. the folllowing services must be stopped.
- Stop the Polling
- Stop the Bots
- Stop processes in Core Server (Root + jiffyapp-user)
- Stop the Database
Stop Root-Level Services
1. Stop NGINX
Log in to the JIFFY.ai core server and run the following command as a Root user to stop the NGINX.
- systemctl stop jiffy-nginx.service
- systemctl status jiffy-nginx.service
2. Stop rabbitmq
Log in to the JIFFY.ai core server and run the following command as a Root user to stop rabbitmq.
systemctl stop rabbitmq-server
To check the status, run the following command.
systemctl status rabbitmq-server
To confirm if the RabbitMQ is stopped properly, run the following command.
ps aux | grep -i rabbitmq | grep -v grep
3. Stop td-agent
- sudo /etc/init.d/td-agent stop
- sudo /etc/init.d/td-agent status
Stop Application-Level Services
Jiffy core services, such as stop/start Applications must be performed from jiffyapp-usr
Switch the user to JIFFY.ai app Linux user and run the following commands as JIFFY.ai app user to stop the Jiffy Application.
Stop Jiffy Application
- Switch the user to JIFFY.ai app Linux user and run the following commands as jiffy app user.
application stop all
- Run the following command to check whether all the JIFFY.ai services have stopped.
application status OR supervisorctl status