From 0061eac678c975a70a1ff6b94d25a01c79523afe Mon Sep 17 00:00:00 2001 From: J9-tops Date: Thu, 13 Nov 2025 17:33:29 +0100 Subject: [PATCH] fix: add fix for start command --- services/push-service/railway.json | 2 +- services/template-service/railway.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/services/push-service/railway.json b/services/push-service/railway.json index b9d6d2e..9c0ea77 100644 --- a/services/push-service/railway.json +++ b/services/push-service/railway.json @@ -4,7 +4,7 @@ "builder": "NIXPACKS" }, "deploy": { - "startCommand": "uvicorn src.main:app --host 0.0.0.0 --port $PORT", + "startCommand": "sh -c 'uvicorn src.main:app --host 0.0.0.0 --port $PORT'", "restartPolicyType": "ON_FAILURE", "restartPolicyMaxRetries": 10 } diff --git a/services/template-service/railway.json b/services/template-service/railway.json index b9d6d2e..9c0ea77 100644 --- a/services/template-service/railway.json +++ b/services/template-service/railway.json @@ -4,7 +4,7 @@ "builder": "NIXPACKS" }, "deploy": { - "startCommand": "uvicorn src.main:app --host 0.0.0.0 --port $PORT", + "startCommand": "sh -c 'uvicorn src.main:app --host 0.0.0.0 --port $PORT'", "restartPolicyType": "ON_FAILURE", "restartPolicyMaxRetries": 10 }