Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added service text.

In the virtual machine there are a number of services that need to be running to enable BCH STAR RADAR to be served from the VM and function correctly these can be manipulated with systemctl/systemd.

Services

Currently there are three services that need to be running:

  • radar-admin.service
  • radar-api.service
  • nginx.service

  • postgres-11.service

The services starting with "radar" are running the Flask application, the "radar-api.service" is for the actual API that the front end application interacts with and the "radar-admin.service" is for the admin interface. In order for RADAR to function properly there needs to be a proxy server, this is where "nginx.service" comes in which is the service where NGINX is run which is the current proxy server, there is one other service "postgres-11.service" which is the service running the Postgres database. If not up and running users of the front end application will not be able to use it as it will error and show a status 500 error back from the server.

The above services should start when the VM boots you can check these are running by typing into the terminal (replacing "radar-admin.service" for which ever service you want to check):

Code Block
languagebash
themeEmacs
titleChecking Service is Running
systemctl status radar-admin.service

If for whatever reason they are not already started you can start a service by inputting into the terminal (again replace "radar-admin.service" with the desired service name):

Code Block
languagebash
themeEmacs
titleStarting a Service
systemctl start radar-admin.service

More information about systemctl/systemd can be found here.