Search

Stop Core Application Server

Articles

Whenever there is maintenance activity in the JIFFY.ai core server or application upgrades etc. the folllowing services must be stopped.

  1. Stop the Polling
  2. Stop the Bots
  3. Stop processes in Core Server (Root + jiffyapp-user)
  4. 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

    Image description

    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

    Image description To check the status, run the following command.

    systemctl status rabbitmq-server

    Image description To confirm if the RabbitMQ is stopped properly, run the following command.

    ps aux | grep -i rabbitmq | grep -v grep

    Image description Image description

    3. Stop td-agent

    • sudo /etc/init.d/td-agent stop
    • sudo /etc/init.d/td-agent status

    Image description

    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

    1. Switch the user to JIFFY.ai app Linux user and run the following commands as jiffy app user.

      application stop all

    2. Run the following command to check whether all the JIFFY.ai services have stopped.

      application status OR supervisorctl status

    3. Image description

Did you find what you were looking for?