aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sokolovsky <paul.sokolovsky@linaro.org>2016-04-30 15:45:33 +0300
committerPaul Sokolovsky <paul.sokolovsky@linaro.org>2016-04-30 12:50:12 +0000
commitce9f894cd88bdfa0a62686c1aef0dc83a7b0a4b0 (patch)
tree285868df82d298746963d39e8425c31345625564
parent5f7dd2f034e6c9bb12476c4839a048da88f4c931 (diff)
downloadlinaro-git-tools-ce9f894cd88bdfa0a62686c1aef0dc83a7b0a4b0.tar.gz
gerrit/gerrit-backup: Don't start gerrit by default.
The biggest usecase for this script is to backup Gerrit installation before upgrading to a new version, so usual process is: stop Gerrit - backup - upgrade - start. Change-Id: I1347d43bdb87fd93d69ec5612f788d986e95ed6e Reviewed-on: https://review.linaro.org/11710 Reviewed-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
-rwxr-xr-xgerrit/gerrit-backup4
1 files changed, 2 insertions, 2 deletions
diff --git a/gerrit/gerrit-backup b/gerrit/gerrit-backup
index 558d599..55a6cb7 100755
--- a/gerrit/gerrit-backup
+++ b/gerrit/gerrit-backup
@@ -16,6 +16,6 @@ tar cfj gerrit-postgres.tar.bz2 /var/lib/postgresql/9.*/main
service postgresql start
# Gerrit doesn't like DB connection dropped
-/srv/gerrit/bin/gerrit.sh restart
+#/srv/gerrit/bin/gerrit.sh restart
# Apache likes to negatively cache for too long
-service apache2 restart
+#service apache2 restart