diff --git a/rootfs/app/entrypoint.sh b/rootfs/app/entrypoint.sh index f0f8160..b612acf 100755 --- a/rootfs/app/entrypoint.sh +++ b/rootfs/app/entrypoint.sh @@ -82,8 +82,10 @@ echo "# Starting cron" crond -b # start ssh -echo "# Starting ssh" -/usr/sbin/sshd -e +if [ "${DISABLE_SFTP}" -ne 1 ] ; then + echo "# Starting ssh" + /usr/sbin/sshd -e +fi # start nginx echo "# Starting nginx"