homepage: run next directly instead of through pnpm (#17155)

This commit is contained in:
CanbiZ (MickLesk)
2026-09-11 07:41:21 +02:00
committed by GitHub
parent 5748b577c4
commit e253713148
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -83,6 +83,10 @@ EOF
sed -i '/^ExecStart=/i Environment=CI=true' /etc/systemd/system/homepage.service
systemctl daemon-reload
fi
if grep -q '^ExecStart=pnpm start' /etc/systemd/system/homepage.service; then
sed -i 's|^ExecStart=pnpm start$|ExecStart=/opt/homepage/node_modules/.bin/next start|' /etc/systemd/system/homepage.service
systemctl daemon-reload
fi
msg_ok "Updated Homepage"
msg_info "Starting service"