# Systemd service on Linux

The Linux installer can create a systemd service for the application.

This happens on the **Create systemd service** step.

{% hint style="info" %}
This step requires root privileges.
{% endhint %}

### What the installer creates

If you answer `y`, the installer:

* Creates a unit file in `/etc/systemd/system/`.
* Prints the exact service name and unit file path.

Example output:

```
STEP 11. CREATE SYSTEMD SERVICE

Do you want to create a systemd service? (Requires root privileges) Enter 'y' or 'n' [n]: y
 * Creating systemd service file: /etc/systemd/system/wproofreader.service
 * The service will run under the user: 33
 * 'wproofreader' systemd service created successfully
```

### Start/stop the service

Replace `wproofreader` with the service name printed by the installer.

Start:

```
sudo systemctl start wproofreader
```

Stop:

```
sudo systemctl stop wproofreader
```

Restart:

```
sudo systemctl restart wproofreader
```

Check status:

```
sudo systemctl status wproofreader
```

### Start on boot

Enable on boot:

```
sudo systemctl enable wproofreader
```

Disable on boot:

```
sudo systemctl disable wproofreader
```

### View logs

In systemd service mode, application logs are still written into text files:

```
<install_path>/AppServer/Logs/
```


---

# 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://docs.wproofreader.com/v6.12.0/deployment/installation/linux/systemd-service-on-linux.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.
