dockerfile/examples/kiwix-serve/standard/entrypoint.sh

11 lines
562 B
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
echo '===================================================================================================='
echo `date +%Y-%m-%d` `date +%H:%M:%S`
echo '============================== 开始启动 Kiwix Serve...... =============================='
echo 'Kiwix Serve 工作目录:' $KIWIX_HOME
echo 'Kiwix Serve 监听端口10080'
echo 'ZIM 文件目录:' $KIWIX_ZIM_FILE_DIR
echo '----------------------------------------------------------------------------------------------------'
$KIWIX_HOME/kiwix-serve -p 10080 $KIWIX_ZIM_FILE_DIR/*.zim