# Running on Linux

### Run through Service Manager

WritebackExtreme supports the following service managers: systemd and SysVinit/InitD. However, the application includes wrappers around the service managers, allowing you to perform the same actions using the application command line.

These commands provide flexibility in managing WritebackExtreme, allowing you to interact with the service directly or leverage service managers for control:

{% tabs %}
{% tab title="Via Application" %}
**Start Service**

If the service is not running, you can start it using:

```bash
sudo ./writeback-extreme-amd64 service start
```

**Stop Service**

To stop the WritebackExtreme service:

```bash
sudo ./writeback-extreme-amd64 service stop
```

{% endtab %}

{% tab title="Systemd" %}
**Service status**

To check the status of the WritebackExtreme service:

```bash
sudo systemctl status writebackextreme
```

**Start Service**

If the service is not running, you can start it using:

```bash
sudo systemctl start writebackextreme
```

**Stop Service**

To stop the WritebackExtreme service:

```bash
sudo systemctl stop WritebackExtreme
```

**Restart Service**

To restart the WritebackExtreme service:

```bash
sudo systemctl restart WritebackExtreme
```

{% endtab %}

{% tab title="SysVinit" %}
**Service status**

To check the status of the WritebackExtreme service:

```bash
sudo service WritebackExtreme status
```

**Start Service**

If the service is not running, you can start it using:

```bash
sudo service WritebackExtreme start
```

**Stop Service**

To stop the WritebackExtreme service:

```bash
sudo service WritebackExtreme stop
```

**Restart Service**

To restart the WritebackExtreme service:

```bash
sudo service WritebackExtreme restart
```

{% endtab %}

{% tab title="InitD" %}
**Service status**

To check the status of the WritebackExtreme service:

```bash
sudo /etc/init.d/WriteBackExtreme status
```

**Start Service**

If the service is not running, you can start it using:

```bash
sudo /etc/init.d/WriteBackExtreme start
```

**Stop Service**

To stop the WritebackExtreme service:

```bash
sudo /etc/init.d/WriteBackExtreme stop 
```

**Restart Service**

To restart the WritebackExtreme service:

```bash
sudo /etc/init.d/WriteBackExtreme restart
```

{% endtab %}
{% endtabs %}

### Service Commands

Always ensure you are in the application folder before executing service commands:

```bash
cd /usr/local/share/writebackextreme
```

**Installing and Uninstalling the Service**

Check the current status of the service, whether it’s installed or not:

```bash
sudo ./writebackextreme-amd64 service status
```

Manually install the application onto the server:

```bash
sudo ./writebackextreme-amd64 service install
```

Manually uninstall the application from the server:

```bash
sudo ./writebackextreme-amd64 service uninstall
```


---

# 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.infotopics.com/writebackextreme/v4.0/installation-guide/installation-wizard/summary/running-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.
