homarr: fix: update-fail (#15512)

* homarr: fix: update-fail

* homarr: fix: rm
This commit is contained in:
Tobias
2026-07-01 15:36:12 +02:00
committed by GitHub
parent 9c6d4479a7
commit 26c8959902
2 changed files with 3 additions and 3 deletions

View File

@@ -49,7 +49,7 @@ chmod 744 /appdata/redis
cp /opt/homarr/redis.conf /etc/redis/redis.conf
sed -i -e '$a\' /etc/redis/redis.conf
grep -q '^bind 127.0.0.1 -::1$' /etc/redis/redis.conf || echo "bind 127.0.0.1 -::1" >>/etc/redis/redis.conf
rm /etc/nginx/nginx.conf
rm -f /etc/nginx/nginx.conf
mkdir -p /etc/nginx/templates
cp /opt/homarr/nginx.conf /etc/nginx/templates/nginx.conf
echo $'#!/bin/bash\ncd /opt/homarr/apps/cli && node ./cli.cjs "$@"' >/usr/bin/homarr