fix: deploy

This commit is contained in:
Kilu 2024-06-30 15:47:30 +08:00
parent 15de98d61c
commit 4348355868
2 changed files with 7 additions and 5 deletions

View File

@ -1,10 +1,12 @@
#!/bin/bash
# Start the frontend server
bun run server.cjs &
# Start the nginx server
service nginx start
# Start the frontend server
bun run server.cjs
tail -f /dev/null

View File

@ -1,9 +1,9 @@
[supervisord]
nodaemon=true
[program:start]
[program:bun]
command=sh /app/start.sh
autostart=true
autorestart=true
stderr_logfile=/var/log/start.err.log
stdout_logfile=/var/log/start.out.log
stderr_logfile=/var/bun/run.err.log
stdout_logfile=/var/bun/run.out.log