Last Updated: Apr 16, 2021
Perform the following steps to stop and start the JIFFY.ai application whenever there is maintenance activity in the JIFFY.ai core server or application upgrades etc.
Execute the mentioned commands to check Database services status:
systemctl status postgresql-9.6
Ps -ef | grep mongo
Execute the mentioned commands to stop the Database services:
Start the Postgres Service
- systemctl stop postgresql-9.6
- systemctl status postgresql-9.6
Start the Mongo Service
- ps -ef | grep mongo | grep -v "grep mongo"| awk '{ print $2 }'| xargs kill -9
- ps -ef | grep mongo
Execute the mentioned commands to start the Database services:
Start the Postgres Service
- systemctl start postgresql-9.6
- systemctl status postgresql-9.6
Start the Mongo Service
mongod -f \$MOUNTPOINT/mongo/conf/mongo.conf