11 lines
562 B
Bash
11 lines
562 B
Bash
|
#!/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
|