Harden installation and runtime diagnostics

This commit is contained in:
v3d 2026-06-29 21:43:47 +02:00
parent 34b4c4b036
commit ed0b168ab6
14 changed files with 748 additions and 213 deletions

View file

@ -0,0 +1,13 @@
[Unit]
Description=Display the Pivilion boot greeting and system status
After=local-fs.target
Before=getty@tty1.service
[Service]
Type=oneshot
ExecStart=/usr/local/lib/pivilion/boot-greeter.sh
StandardOutput=journal+console
StandardError=journal+console
[Install]
WantedBy=multi-user.target

View file

@ -0,0 +1,11 @@
[Unit]
Description=Pivilion legacy Wi-Fi access point
After=network-pre.target
[Service]
Type=simple
ExecStart=/usr/sbin/hostapd /run/pivilion/hostapd.conf
Restart=on-failure
[Install]
WantedBy=multi-user.target

View file

@ -7,7 +7,7 @@ Wants=network-pre.target
Type=oneshot
ExecStart=/usr/local/lib/pivilion/mode.sh
RemainAfterExit=yes
TimeoutStartSec=90
TimeoutStartSec=120
[Install]
WantedBy=multi-user.target