fix: don't remove templates to prevent a failure on restart

This commit is contained in:
Juan Casanova 2025-11-25 12:29:48 +01:00
parent 10400113fb
commit f7b7ade436

View File

@ -1,8 +1,5 @@
#!/bin/sh
# remove template files
rm -f /usr/share/nginx/html/index.prefix.tpl.html /usr/share/nginx/html/index.tpl.html
if [ -n "$BASE_PATH" ]; then
rm -f /etc/nginx/conf.d/default.conf
rm -f /usr/share/nginx/html/index.html