wordpress/start

9 lines
248 B
Plaintext
Raw Normal View History

2017-12-13 10:54:20 +00:00
#!/bin/sh
set -ex
[ ! -d /var/run/sshd ] && mkdir /var/run/sshd
[ -x /usr/sbin/sshd ] && start-stop-daemon --start --pidfile /var/run/sshd.pid --exec /usr/sbin/sshd -- -p 22
echo "Starting php [$@]"
exec /usr/local/bin/docker-php-entrypoint "$@"