# Services

## Overview

## Starting and Stopping

POCS services uses `supervisord` to run processes in the background. To check that things are running, use the command `sudo supervisorctl status`.

```
(conda-pocs)  panoptes@panoptes  supervisorctl status
pocs-config-server               RUNNING   pid 782, uptime 1 day, 0:12:39
pocs-jupyter-server              STOPPED   Not started
pocs-power-monitor               RUNNING   pid 784, uptime 1 day, 0:12:39
pocs-weather-reader              RUNNING   pid 783, uptime 1 day, 0:12:39
```

When making changes to the config file, use `supervisorctl reread` to save those changes.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.projectpanoptes.org/build/software/appendix/services.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
