Skip to content

Commit a2179b4

Browse files
committed
Adjust SSHD editor definition command.
- The che-code-sshd landing page enhancements result in multiple resource files being placed in /opt/www/ . It is necessary to set the working directory prior to calling node Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
1 parent 9a2aafe commit a2179b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

editors-definitions/che-code-sshd-insiders.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ components:
8787
command:
8888
- sh
8989
- -c
90-
- "nohup /entrypoint.sh & nohup /sshd.start & nohup node /opt/www/server.js & tail -f /dev/null"
90+
- "nohup /entrypoint.sh & nohup /sshd.start & pushd /opt/www/ && nohup node /opt/www/server.js & tail -f /dev/null"
9191
endpoints:
9292
- name: che-code-sshd
9393
attributes:

editors-definitions/che-code-sshd-next.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ components:
8787
command:
8888
- sh
8989
- -c
90-
- "nohup /entrypoint.sh & nohup /sshd.start & nohup node /opt/www/server.js & tail -f /dev/null"
90+
- "nohup /entrypoint.sh & nohup /sshd.start & pushd /opt/www/ && nohup node /opt/www/server.js & tail -f /dev/null"
9191
endpoints:
9292
- name: che-code-sshd
9393
attributes:

0 commit comments

Comments
 (0)