Skip to content

Commit d0b9d90

Browse files
committed
fix(entry): fix container entry point to not output vnc and stuff logs
1 parent d8ad628 commit d0b9d90

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/app/components/app-job/app-job.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ export class AppJobComponent implements OnInit, OnDestroy {
189189
this.sshd = null;
190190
this.vnc = null;
191191
this.debug = false;
192+
this.terminalInput = { clear: true };
192193
this.socketService.emit({ type: 'restartJob', data: { jobId: this.id } });
193194
this.terminalInput = { clear: true };
194195
}

src/files/docker-essential/entry.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
VNC_STORE_PWD_FILE=/home/abstruse/.vnc/passwd
44
if [ ! -e "${VNC_STORE_PWD_FILE}" -o -n "${VNC_PASSWORD}" ]; then
5-
mkdir -vp /home/abstruse/.vnc
6-
x11vnc -storepasswd ${VNC_PASSWORD:-abstruse} ${VNC_STORE_PWD_FILE} &> /dev/null
5+
mkdir -vp /home/abstruse/.vnc > /dev/null 2>&1
6+
x11vnc -storepasswd ${VNC_PASSWORD:-abstruse} ${VNC_STORE_PWD_FILE} > /dev/null 2>&1
77
fi
88

99
export CHROME=${CHROME:-/opt/google/chrome/google-chrome}
@@ -14,7 +14,7 @@ export DISPLAY=:99
1414
sudo /etc/init.d/fluxbox start
1515
/etc/init.d/x11vnc start
1616
sudo /etc/init.d/ssh start
17-
} &> /dev/null
17+
} > /dev/null 2>&1
1818

1919
/bin/bash
2020

0 commit comments

Comments
 (0)