We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b9c3e0a + 1793aa5 commit 1864c58Copy full SHA for 1864c58
bin/ghe-restore
@@ -258,7 +258,7 @@ if [ -s "$GHE_RESTORE_SNAPSHOT_PATH/uuid" ] && ! $CLUSTER; then
258
echo "Restoring UUID ..."
259
cat "$GHE_RESTORE_SNAPSHOT_PATH/uuid" |
260
ghe-ssh "$GHE_HOSTNAME" -- "sudo sponge '$GHE_REMOTE_DATA_USER_DIR/common/uuid' 2>/dev/null"
261
- ghe-ssh "$GHE_HOSTNAME" -- "sudo systemctl stop consul"
+ ghe-ssh "$GHE_HOSTNAME" -- "sudo systemctl stop consul" || true
262
ghe-ssh "$GHE_HOSTNAME" -- "sudo rm -rf /data/user/consul/raft"
263
fi
264
test/bin/systemctl
0 commit comments