mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
7fb406c2bb
* Gitblit 1.6.0
11 lines
284 B
Bash
Executable File
11 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
|
|
|