# Server Services

This module can be used to create an OS service for a given CommandBox Server.  This allows the server to start when your computer boots and be controlled by the operating system's service manager.  Each service will only control a single CommandBox server, but you can create as many as you like. &#x20;

The simplest form of this is to `cd` into the web root for a server and run this command:

```bash
server service create --start
```

This will create a service and start it for you.  Once you've created a service for a given server, use the service to start and stop the server.


---

# 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://commandbox-service-manager.ortusbooks.com/server-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.
