Skip to main content
Warning This document has not been updated for a while now. It may be out of date.
Last updated: 5 Apr 2022

Restart an application

Restarting one instance of an app

To restart an application on one machine, SSH into the machine then run:

sudo service <app> restart

This will terminate any active requests to that instance of the app, and so may cause a few errors. Other instances of the app on different machines will not restart.

Restarting all instances of an app

To restart an application on all machines:

  1. Go to the Deploy_App Jenkins job
    • For TARGET_APPLICATION, choose the app to restart
    • For DEPLOY_TASK, choose deploy:with_hard_restart
    • For TAG, choose the current release
  2. Click “Build”

All the instances of the app will restart at roughly the same time, so any pages served by the app will be briefly unavailable, and there will be a spike of 5xx errors.