Compare commits

...

1 Commits

Author SHA1 Message Date
MickLesk
d56c515240 homepage: run next directly instead of through pnpm 2026-09-10 14:04:25 +02:00
2 changed files with 5 additions and 1 deletions

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"

View File

@@ -64,7 +64,7 @@ RestartSec=1
User=root
WorkingDirectory=/opt/homepage/
Environment=CI=true
ExecStart=pnpm start
ExecStart=/opt/homepage/node_modules/.bin/next start
[Install]
WantedBy=multi-user.target