From b8af6b535edcabed637e94fb5f7f35c36d4608f7 Mon Sep 17 00:00:00 2001 From: Nilesh Sarupriya <20905988+nsarupr@users.noreply.github.com> Date: Tue, 28 Jan 2025 10:45:49 +0530 Subject: [PATCH] move the rts.conf code to shell file --- deploy/docker/fs/opt/appsmith/run-rts.sh | 3 +++ .../templates/supervisord/application_process/rts.conf | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 deploy/docker/fs/opt/appsmith/run-rts.sh diff --git a/deploy/docker/fs/opt/appsmith/run-rts.sh b/deploy/docker/fs/opt/appsmith/run-rts.sh new file mode 100644 index 000000000000..c9a5bccd3866 --- /dev/null +++ b/deploy/docker/fs/opt/appsmith/run-rts.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +exec node /opt/appsmith/rts/bundle/server.js \ No newline at end of file diff --git a/deploy/docker/fs/opt/appsmith/templates/supervisord/application_process/rts.conf b/deploy/docker/fs/opt/appsmith/templates/supervisord/application_process/rts.conf index 2ff862db027f..e4adbc36a2cb 100644 --- a/deploy/docker/fs/opt/appsmith/templates/supervisord/application_process/rts.conf +++ b/deploy/docker/fs/opt/appsmith/templates/supervisord/application_process/rts.conf @@ -1,6 +1,5 @@ [program:rts] -directory=/opt/appsmith/rts/bundle -command=/opt/appsmith/run-with-env.sh node server.js +command=/opt/appsmith/run-with-env.sh /opt/appsmith/run-rts.sh autorestart=true autostart=true priority=15