1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-25 13:19:37 -05:00

[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>
This commit is contained in:
Jakob Ackermann 2019-04-17 03:08:25 +02:00 committed by techknowlogick
parent 6821a32d81
commit 62b35964e3
4 changed files with 1 additions and 10 deletions

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

View file

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

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

View file

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