fixes for npm, loki, omada, wishlist

Remove promtail from loki/alpine-loki
Replace node execstart in npm during update
add user agent to omada download
use pnpm 11 for wishlist
This commit is contained in:
Sam Heinz
2026-06-28 20:58:36 +10:00
parent 5bea573281
commit b16b3d81f3
8 changed files with 7 additions and 37 deletions
+3
View File
@@ -235,6 +235,9 @@ EOF
fi
sed -i 's/user npm/user root/g; s/^pid/#pid/g' /usr/local/openresty/nginx/conf/nginx.conf
sed -r -i 's/^([[:space:]]*)su npm npm/\1#su npm npm/g;' /etc/logrotate.d/nginx-proxy-manager
if [ -n "$(command -v node)" ]; then
sed -i -E "s|^ExecStart=.*/node index\.js|ExecStart=$(command -v node) index.js|" /lib/systemd/system/npm.service
fi
systemctl daemon-reload
systemctl enable -q --now openresty
systemctl enable -q --now npm