auto: session-start commit — 2 file(s) at 2026-05-24 20:20:20

This commit is contained in:
librelad 2026-05-24 20:20:21 +01:00
parent a9c83b06b0
commit cb6301dc01
2 changed files with 5 additions and 4 deletions

View File

@ -6,9 +6,10 @@
webuiCreateUpdateLock() {
local lock_file="$containers_dir/libreportal/frontend/data/updater.lock"
# Create lock file with timestamp and process ID
echo "LibrePortal WebUI Update: $(date '+%Y-%m-%d %H:%M:%S')" > "$lock_file"
# Create lock file with timestamp and process ID. The lock lives in the
# dockerinstall-owned WebUI data dir, so write it as the path owner.
echo "LibrePortal WebUI Update: $(date '+%Y-%m-%d %H:%M:%S')" | runFileWrite "$lock_file"
if [ $? -eq 0 ]; then
isSuccessful "Update lock file created: $lock_file"
else

View File

@ -7,6 +7,6 @@ webuiRemoveUpdateLock() {
local lock_file="$containers_dir/libreportal/frontend/data/updater.lock"
if [ -f "$lock_file" ]; then
rm "$lock_file"
runFileOp rm -f "$lock_file"
fi
}