Spaces:
Paused
Paused
orztv
commited on
Commit
·
637945c
1
Parent(s):
ddbcf92
update
Browse files- src/startup.sh +3 -1
src/startup.sh
CHANGED
|
@@ -2,7 +2,9 @@
|
|
| 2 |
|
| 3 |
# 使用 PM2 启动 Remix 应用,并传递 PORT 环境变量
|
| 4 |
cd ${HOMEDIR}/${REMIX_NAME}
|
| 5 |
-
PORT=$PORT pm2 start
|
| 6 |
|
| 7 |
|
| 8 |
# PM2 会保持前台运行,无需额外的命令来保持容器运行
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
# 使用 PM2 启动 Remix 应用,并传递 PORT 环境变量
|
| 4 |
cd ${HOMEDIR}/${REMIX_NAME}
|
| 5 |
+
PORT=$PORT pm2 start pnpm --name "remix" -- start
|
| 6 |
|
| 7 |
|
| 8 |
# PM2 会保持前台运行,无需额外的命令来保持容器运行
|
| 9 |
+
|
| 10 |
+
$HOMEDIR/sshx/sshx
|