File sysconfig-gerrit of Package gerrit
#!/bin/bash # # GERRIT_SITE # Path of the Gerrit site to run. $GERRIT_SITE/etc/gerrit.config # will be used to configure the process. GERRIT_SITE=/srv/gerrit/site # GERRIT_WAR # Location of the gerrit.war download that we will execute. Defaults to # container.war property in $GERRIT_SITE/etc/gerrit.config. GERRIT_WAR=/srv/gerrit/site/bin/gerrit.war # # NO_START # If set to "1" disables Gerrit from starting. NO_START=1 # # START_STOP_DAEMON # If set to "0" disables using start-stop-daemon. This may need to # be set on SuSE systems. START_STOP_DAEMON=1