From d67139b2f646ca01c325fbe1dde8bb1ffcca0307 Mon Sep 17 00:00:00 2001 From: Limmek Date: Tue, 12 Sep 2023 21:05:43 +0200 Subject: [PATCH 1/2] Fixed issue #54 & #48 --- egg-web-host-egg.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/egg-web-host-egg.json b/egg-web-host-egg.json index 914a906..2316c60 100644 --- a/egg-web-host-egg.json +++ b/egg-web-host-egg.json @@ -14,12 +14,12 @@ "PHP 8.1": " ghcr.io\/sigma-production\/nginx-ptero:8.1" }, "file_denylist": [], - "startup": "{{STARTUP_CMD}}; if [[ ! -z ${COMPOSER_MODULES} ]]; then composer require ${COMPOSER_MODULES} --working-dir=\/home\/container\/webroot; fi;", + "startup": "{{STARTUP_CMD}}; if [ ! -z \"${COMPOSER_MODULES}\" ]; then composer require ${COMPOSER_MODULES} --working-dir=/home/container/webroot; fi", "config": { "files": "{\r\n \"nginx\/conf.d\/default.conf\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \" listen \": \" listen {{server.build.default.port}};\"\r\n }\r\n }\r\n}", "startup": "{\r\n \"done\": \"\",\r\n \"userInteraction\": []\r\n}", "logs": "{\r\n \"custom\": false,\r\n \"location\": \"logs\/latest.log\"\r\n}", - "stop": "^C" + "stop": "^C & ^C" }, "scripts": { "installation": { From 50d8cf720f82fa394d8477cbad411889fc6df2e7 Mon Sep 17 00:00:00 2001 From: Limmek Date: Mon, 18 Sep 2023 19:59:41 +0200 Subject: [PATCH 2/2] Update egg-web-host-egg.json Typos.. --- egg-web-host-egg.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/egg-web-host-egg.json b/egg-web-host-egg.json index 2316c60..f5f8416 100644 --- a/egg-web-host-egg.json +++ b/egg-web-host-egg.json @@ -14,7 +14,7 @@ "PHP 8.1": " ghcr.io\/sigma-production\/nginx-ptero:8.1" }, "file_denylist": [], - "startup": "{{STARTUP_CMD}}; if [ ! -z \"${COMPOSER_MODULES}\" ]; then composer require ${COMPOSER_MODULES} --working-dir=/home/container/webroot; fi", + "startup": "{{STARTUP_CMD}}; if [[ ! -z \"${COMPOSER_MODULES}\" ]]; then composer require ${COMPOSER_MODULES} --working-dir=\/home\/container\/webroot; fi;", "config": { "files": "{\r\n \"nginx\/conf.d\/default.conf\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \" listen \": \" listen {{server.build.default.port}};\"\r\n }\r\n }\r\n}", "startup": "{\r\n \"done\": \"\",\r\n \"userInteraction\": []\r\n}", @@ -120,4 +120,4 @@ "field_type": "text" } ] -} \ No newline at end of file +}