AceMagic S1 Display Panel auf Alpine Linux

  1. apk add build-base cairo-dev eudev eudev-dev gcc git libusb-dev make nodejs npm openssl pango-dev pixman-dev pkgconf python3 Es wird die community repository benötigt.
  2. git clone https://github.com/tjaworski/AceMagic-S1-LED-TFT-Linux
  3. cd AceMagic-S1-LED-TFT-Linux/s1panel
  4. npm i und warten bis fertig
  5. node . und spaß haben

Der Service (optional):

#!/sbin/openrc-run
name=$RC_SVCNAME
description="S1 Panel"
supervisor="supervise-daemon"
command="/usr/bin/node"
command_args="main.js"
supervise_daemon_args=" -d <ORDNER VON s1panel HIER!> -e SERVICE=\"true\""

in /etc/init.d als s1panel speichern und chmod +x geben. Nun kann man ihn mit rc-service z.b. starten oder mit rc-update automatisch starten lassen.

Achtung: der ordner wird von lbu nicht standardmäßig mitgespeichert!

0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9