mindoc/start.sh

12 lines
199 B
Bash
Raw Normal View History

#!/bin/sh
set -e
2018-06-06 11:43:25 +08:00
cd /mindoc/
2018-06-06 11:43:25 +08:00
if [ ! -f "/mindoc/conf/app.conf" ] ; then
cp /mindoc/conf/app.conf.example /mindoc/conf/app.conf
2018-02-03 17:38:21 +08:00
fi
2018-06-06 11:43:25 +08:00
/mindoc/mindoc_linux_amd64 install
/mindoc/mindoc_linux_amd64