From: Felix Dörre Date: Mon, 10 Nov 2014 23:11:08 +0000 (+0100) Subject: add: more "gigi"-subcommands (with manpage) X-Git-Url: https://code.wpia.club/?p=gigi.git;a=commitdiff_plain;h=42bbd6583455d10e2f500e5d6a8560a8a8e9152e add: more "gigi"-subcommands (with manpage) --- diff --git a/debian/gigi.1 b/debian/gigi.1 index 58283700..61b41b69 100644 --- a/debian/gigi.1 +++ b/debian/gigi.1 @@ -27,6 +27,9 @@ is the starter for the CAcert-gigi system. .\" respectively. .SH OPTIONS .TP +.B debug +Run the usual webdb (not forking) with opening jdwp on port 8000. You will need to pipe the config into this program. +.TP .B fetch-locales Fetch all Translations from http://translations.cacert.org/ .TP @@ -36,12 +39,11 @@ Delete the whole database contents, resetting it to default. .B signer Run the test-replacement signer (not forking). .TP +.B signer-conf +Configure the (internal) signer and the "reset-database"-tool with the config from stdin. +.TP .B start Run the usual webdb (not forking). You will need to pipe the config into this program. -.\".SH SEE ALSO -.\".BR bar (1), -.\".BR baz (1). -.\".br -.\"The programs are documented fully by -.\".IR "The Rise and Fall of a Fooish Bar" , -.\"available via the Info system. +.TP +.B start-daemon +Run the usual webdb (forking). You will not need to pipe the config into this program. It reads the config from /etc/cacert/gigi/conf.tar diff --git a/doc/scripts/gigi b/doc/scripts/gigi index 0f8c1e8a..763af7cb 100755 --- a/doc/scripts/gigi +++ b/doc/scripts/gigi @@ -15,6 +15,9 @@ cd /var/lib/cacert-gigi if [ "$1" == "start" ] then java -cp $JDBC_DRIVER:$GIGI_EXEC org.cacert.gigi.Launcher +elif [ "$1" == "debug" ] +then + java -cp $JDBC_DRIVER:$GIGI_EXEC -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000 org.cacert.gigi.Launcher elif [ "$1" == "start-daemon" ] then if [ ! -e /etc/cacert/gigi/conf.tar ]; then @@ -39,8 +42,12 @@ then tar x gigi.properties else echo "Usage: gigi