0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-30 05:18:14 +01:00
gitea/docker/etc/s6/openssh/run
Thomas Boerger c6b6a61bf1 Fixing multiple docker issues (#386)
* Added stupid docker task to makefile

* Dropped unknown option PrintLastLog from docker ssh config

* OpenSSH should log to docker stdout

* Set random pw for docker git user, otherwise it is locked

* Stop using templates and public within docker
2016-12-15 17:16:55 +08:00

6 lines
117 B
Bash
Executable file

#!/bin/bash
[[ -f ./setup ]] && source ./setup
pushd /root > /dev/null
exec su-exec root /usr/sbin/sshd -D
popd