gitea/docker/etc/s6/openssh/run

7 lines
138 B
Bash
Executable File

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