mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-13 13:52:27 +00:00
7fb406c2bb
* Gitblit 1.6.0
10 lines
284 B
Bash
Executable file
10 lines
284 B
Bash
Executable file
#!/bin/sh
|
|
|
|
contents=`ls $GITBLIT_BASE_FOLDER|wc -l`
|
|
|
|
if [ $contents = "0" ]; then
|
|
cp -r $GITBLIT_PATH/data/* $GITBLIT_BASE_FOLDER
|
|
fi
|
|
|
|
$JAVA_HOME/bin/java -jar $GITBLIT_PATH/gitblit.jar --httpsPort $GITBLIT_HTTPS_PORT --httpPort $GITBLIT_HTTP_PORT --baseFolder $GITBLIT_BASE_FOLDER
|
|
|