Browse Source

[docker] let the ssh daemon speak for itself and drop the syslog daemon (#6529)

The sshd flag `-e` instructs sshd to output any logs to stderr instead
 of the syslog. Redirect this output to stdout then.

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
tags/v1.9.0-rc1
Jakob Ackermann 5 years ago
parent
commit
62b35964e3

+ 1
- 1
docker/etc/s6/openssh/run View File

@@ -2,5 +2,5 @@
[[ -f ./setup ]] && source ./setup

pushd /root > /dev/null
exec su-exec root /usr/sbin/sshd -D
exec su-exec root /usr/sbin/sshd -D -e 2>&1
popd

+ 0
- 2
docker/etc/s6/syslogd/finish View File

@@ -1,2 +0,0 @@
#!/bin/bash
exit 0

+ 0
- 6
docker/etc/s6/syslogd/run View File

@@ -1,6 +0,0 @@
#!/bin/bash
[[ -f ./setup ]] && source ./setup

pushd /root > /dev/null
exec su-exec root /sbin/syslogd -nS -O-
popd

+ 0
- 1
docker/etc/s6/syslogd/setup View File

@@ -1 +0,0 @@
#!/bin/bash

Loading…
Cancel
Save