diff --git a/README.md b/README.md index d3e0e8274fe2dd1a1f1efe29254a7b9ce0871b4e..8642200b50542cb3170bf459c56013adc4e5818b 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,16 @@ mediactl sports a touchscreen that allows control of the media technology in tha  -## service +## architecture + +There is a fastapi web service (`localhost:8000`) running behind an nginx reverse proxy that exposes it to the world. The service has a systemd unit file located at `/etc/systemd/system` (see section below). +The touchpanel is started with raspi-autologin and the `.xinit` file located in the `d0` user directory (see section below). The files of the running webservice are located at `/home/d0/mediactl` (see section below for hints if you want to edit those files). + +## autostart on RPI +See [this](https://blog.r0b.io/post/minimal-rpi-kiosk/) for a description of how to start chromium via `/home/d0/.xinit` – note: this file contains the screen blanking settings (`xset s 600 0` ) + + +## systemd service **Check Service Status** ```bash @@ -20,10 +29,6 @@ sudo systemctl restart mediactl.service -## autostart on RPI - -See [this](https://blog.r0b.io/post/minimal-rpi-kiosk/) for a description of how to start chromium via `/home/d0/.xinit` – note: this file contains the screen blanking settings (`xset 600 0` ) - ## note about apt In `/etc/apt/apt.conf.d/proxy.conf` there is a proxy connection setup: