9 lines
254 B
Bash
Executable File
9 lines
254 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ -x /usr/sbin/sshd -a "${SSH_START}" = "TRUE" ]; then
|
|
[ ! -d /var/run/sshd ] && mkdir /var/run/sshd
|
|
start-stop-daemon --start --pidfile /var/run/sshd.pid --exec /usr/sbin/sshd -- -p 22
|
|
fi
|
|
|
|
exec /usr/local/bin/docker-php-entrypoint "$@"
|