> For the complete documentation index, see [llms.txt](https://manual.senseforce.io/manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.senseforce.io/manual/senseforce-edge/edge-installation/headless-sf-edge-servie-execution.md).

# Headless SF Edge Servie execution

For most use cases, it is good practice to use SF Edge as Windows or Linux service. See the following section for further details:

{% content-ref url="/pages/-Lj6y-PS1qcfAnChNZYr" %}
[Edge Installation](/manual/senseforce-edge/edge-installation.md)
{% endcontent-ref %}

Sometimes, it might be beneficial to run Luna in "headless-mode" without needing to install it as a service. Use the Luna.Service executable for that. Run the following command (in the SF Edge main binary location):&#x20;

```
$ ./Luna.Service -f /path/to/config/appsettings.xml -o /path/to/config/otasettings.xml -s "EdgeService0"
```

{% hint style="warning" %}
Make sure, the Luna.Service executable has permissions to run on your operating system.
{% endhint %}
