summaryrefslogtreecommitdiffstats
path: root/src/site/federation.mkd
diff options
context:
space:
mode:
authorFlorian Zschocke <florian.zschocke@devolo.de>2019-11-08 11:27:51 +0100
committerFlorian Zschocke <florian.zschocke@devolo.de>2019-11-08 11:27:51 +0100
commitb557eced9e6030c5b1414c18ed2caade6a77d855 (patch)
tree46f67283e708cb645e7e08cd961524e562d1f520 /src/site/federation.mkd
parent4a58ee79389e4fa0c087dba3675b3a9a552024c3 (diff)
downloadgitblit-b557eced9e6030c5b1414c18ed2caade6a77d855.tar.gz
gitblit-b557eced9e6030c5b1414c18ed2caade6a77d855.zip
Remove Launcher from Manager and Federation Client.
They will need to be called with the classpath and main class now, instead of simply using the Jar.
Diffstat (limited to 'src/site/federation.mkd')
-rw-r--r--src/site/federation.mkd6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/site/federation.mkd b/src/site/federation.mkd
index 7574a321..231a9f35 100644
--- a/src/site/federation.mkd
+++ b/src/site/federation.mkd
@@ -332,9 +332,9 @@ If you are pulling from a Gitblit with a self-signed SSL certificate you will ne
### Command-Line Parameters
Instead of using `federation.properties` you may directly specify a Gitblit instance to pull from with command-line parameters.
- java -jar fedclient.jar --url https://go.gitblit.com --mirror --bare --token 123456789
+ java -cp fedclient.jar;"%CD%/ext/*" com.gitblit.FederationClient --url https://go.gitblit.com --mirror --bare --token 123456789
--repositoriesFolder c:/mymirror
- java -jar fedclient.jar --url https://go.gitblit.com --mirror --bare --token 123456789
- --repositoriesFolder c:/mymirror --daemon --frequency "24 hours"
+ java -cp fedclient.jar:ext/* com.gitblit.FederationClient --url https://go.gitblit.com --mirror --bare --token 123456789
+ --repositoriesFolder /srv/mymirror --daemon --frequency "24 hours"