mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-19 03:54:02 +08:00
62b35964e3
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>
7 lines
125 B
Bash
Executable File
7 lines
125 B
Bash
Executable File
#!/bin/bash
|
|
[[ -f ./setup ]] && source ./setup
|
|
|
|
pushd /root > /dev/null
|
|
exec su-exec root /usr/sbin/sshd -D -e 2>&1
|
|
popd
|