Files
smallwebwaf/share
clawbot 70bd0b5bf1
check / check (push) Canceled after 0s
smallwebwaf starts with SWWAF_STATE_DIR given as a file on a new volume (closes #137)
The run script gave ${SWWAF_STATE_DIR:-/var/lib/smallwebwaf} to the
smallwebwaf user and never read SWWAF_STATE_DIR_FILE, so a new volume
at the directory that file names stayed root's and smallwebwaf could
not write it. The run script now takes the setting from the variable
or the file, and changes the owner only when it is the absolute path
of a directory that exists. Otherwise, or when both are set or the
file cannot be read, it starts smallwebwaf, which stops with its
message naming the setting. A chown that fails, as on a read-only
volume, no longer ends the run script. script/example-app checks that
a container with its state files on a new volume named in such a file
becomes healthy, and that a missing state directory reaches
smallwebwaf's message.

Model: opus-5-5
2026-10-20 12:07:02 +00:00
..