Dockerfiles/hexo/bootstrap.sh

10 lines
149 B
Bash
Raw Normal View History

2016-11-11 10:33:18 +00:00
#! /bin/bash
if [ "$1" == "server" ]; then
# start hexo server
hexo server
else
# do nothing, just wait
while true; do sleep 1000; done
fi