mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-06-29 10:44:57 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user