1. nostr-vpn still failing despite last mask attempt — confirmed in the 6th ISO's rootfs.tar: the .service file was present but not in multi-user.target.wants. Previous `systemctl mask` silently no-oped because the real file was already there. Fixed properly with explicit `rm -f` + `ln -sf /dev/null` for nostr-vpn, archipelago-wg, and archipelago-wg-address — same /dev/null symlink state that `mask` would produce on a clean install. 2. Kiosk didn't come up on first boot, only on reboot. Extended the ExecStartPre health-poll from 30s → 120s (unbundled ISO takes longer to settle on first boot: archipelago initializes state, pulls FileBrowser, frontend settles), raised TimeoutStartSec to 180s, and added After=systemd-user-sessions.service + After=network-online.target so X / Chromium aren't racing. 3. /init: line 29: can't create /root/etc/network/interfaces error on installer boot — debootstrap --variant=minbase omits ifupdown so the target has no /etc/network/ directory, and live-boot's init tries to seed it. Non-fatal but noisy. Added ifupdown + isc-dhcp-client to the debootstrap --include list. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
23 lines
890 B
Desktop File
23 lines
890 B
Desktop File
[Unit]
|
|
Description=Archipelago Kiosk (X11 + Chromium)
|
|
After=archipelago.service systemd-user-sessions.service network-online.target
|
|
Wants=archipelago.service network-online.target
|
|
ConditionPathExists=/usr/local/bin/archipelago-kiosk-launcher
|
|
Conflicts=getty@tty1.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
# Wait up to 120s for archipelago to serve /health. On first boot it
|
|
# can take longer than 30s — the backend initialises state, unbundled
|
|
# ISO pulls FileBrowser, and the frontend dist has to settle. The
|
|
# previous 30s cap was firing Chromium at a not-yet-ready backend and
|
|
# the resulting blank window only recovered on reboot.
|
|
ExecStartPre=/bin/bash -c 'for i in $(seq 1 60); do curl -sf http://localhost/health >/dev/null 2>&1 && break; sleep 2; done'
|
|
ExecStart=/usr/local/bin/archipelago-kiosk-launcher
|
|
TimeoutStartSec=180
|
|
Restart=always
|
|
RestartSec=5
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|