# Starting Automatically

## 🚀 Starting the ATM automatically

If you want that the ATM software starts automatically, every time you boot the Raspberry Pi, you can do this with the systemd file that is part of the software files.

In order to activate the daemon, you first have to copy the file into the right folder on your Rasperry Pi 🍓 and then enable the daemon with these commands:

```
cd ~/LightningATM
sudo cp LightningATM.service /etc/systemd/system/LightningATM.service
sudo systemctl enable LightningATM.service
```

You can check it the daemon is up and running as well as check the log file with these commands:

```
# With this command you can check if it is active and running
sudo systemctl status LightningATM.service

# With this command you can check the log/debug file for errors
tail -f ~/.lightningATM/debug.log
```


---

# 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.lightningatm.me/faq-and-common-problems/starting-automatically.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.
