wordpress/start

9 lines
253 B
Plaintext
Raw Normal View History

2017-12-13 10:54:20 +00:00
#!/bin/sh
2017-12-13 22:40:56 +00:00
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
2017-12-13 10:54:20 +00:00
2018-02-02 10:14:10 +00:00
exec /usr/local/bin/docker-entrypoint.sh "$@"