Fix Windows/WSL production deploy hang and permissions.

Skip slow Git worktree walks on /mnt, run Vite on Windows npm, reuse Windows SSH keys, and stop rewriting the klevze-owned public app symlink that skinbase cannot replace.
This commit is contained in:
2026-08-29 12:25:50 +02:00
parent bf9ca12469
commit ab8fa6d845
12 changed files with 1557 additions and 140 deletions
+13 -2
View File
@@ -1,10 +1,21 @@
; Install once on the app host:
; sudo cp deploy/supervisor/skinbase-ssr.conf /etc/supervisor/conf.d/skinbase-ssr.conf
; sudo supervisorctl reread && sudo supervisorctl update
; sudo supervisorctl start skinbase-ssr
;
; Path uses the stable app symlink (REMOTE_FOLDER), not a versioned release dir.
; Override node path if needed. Deploy restarts this via SSR_SUPERVISOR_PROGRAM=skinbase-ssr.
[program:skinbase-ssr]
command=/usr/local/bin/node /opt/www/virtual/SkinbaseNova/bootstrap/ssr/ssr.js
command=/usr/bin/env node /opt/www/virtual/SkinbaseNova/bootstrap/ssr/ssr.js
directory=/opt/www/virtual/SkinbaseNova
process_name=%(program_name)s
numprocs=1
autostart=true
autorestart=true
user=www-data
user=skinbase
redirect_stderr=true
stdout_logfile=/var/log/skinbase_ssr.log
stdout_logfile_maxbytes=10MB
stopwaitsecs=10
stopasgroup=true
killasgroup=true