fixup! feat(status): a status page, for the phone of whoever looks after the box
check / check (push) Canceled after 0s

install the app in /usr/local/lib/pdtv26-status, not in the state
directory: with DynamicUser, systemd makes /var/lib/pdtv26-status its
own symlink to /var/lib/private, and the service failed at
STATE_DIRECTORY ("File exists"). The package's check now catches a unit
that runs a program from its own StateDirectory.

Generated-by: Claude Opus 5.5
This commit is contained in:
dckc committed 2026-12-02 18:38:37 -06:00
1 parent f35da9b883
commit 7957d88ff9
3 files changed
+9 -3

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ Wants=network-online.target
# speech server, and the brain's channel; make install writes them, host:port, to the targets file.
# The private network is the boundary: no key.
EnvironmentFile=/etc/pdtv26-status/targets
ExecStart=/var/lib/pdtv26-status/app/bin/status-server :: ${PORT} /var/lib/pdtv26-status ${NAME} ${BOX} ${SPEECH} ${BRAIN}
ExecStart=/usr/local/lib/pdtv26-status/app/bin/status-server :: ${PORT} /var/lib/pdtv26-status ${NAME} ${BOX} ${SPEECH} ${BRAIN}
DynamicUser=yes
StateDirectory=pdtv26-status
IPAddressDeny=any