.\" 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
.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
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
tar x gigi.properties
else
echo "Usage: gigi <option>"
- echo "start - starts gigi"
- echo "signer - starts the simple signer"
- echo "reset-database - resets the database"
+ echo "debug - starts gigi in debug mode (on port 8000, with config from stdin)"
echo "fetch-locales - (re)fetch the localisation"
+ echo "reset-database - resets the database"
+ echo "signer - starts the simple signer"
+ echo "signer-conf - extract config for simple signer (and reset-database) from the tar from stdin"
+ echo "start - starts gigi"
+ echo "start-daemon - starts gigi in background (using config from /etc/cacert/gigi/conf.tar)"
+
fi