We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd61d55 commit 70af02bCopy full SHA for 70af02b
1 file changed
bin/ghe-restore
@@ -209,7 +209,9 @@ ghe-restore-es-${GHE_BACKUP_STRATEGY} "$GHE_HOSTNAME" 1>&3
209
210
# Restart an already running memcached to reset the cache after restore
211
if [ "$GHE_VERSION_MAJOR" -ge 2 ]; then
212
- echo "sudo restart -q memcached 2>&1 || true" | ghe-ssh "$GHE_HOSTNAME"
+ echo "Restarting memcached ..." 1>&3
213
+ echo "sudo restart -q memcached 2>/dev/null || true" |
214
+ ghe-ssh "$GHE_HOSTNAME" -- /bin/sh
215
fi
216
217
# When restoring to a host that has already been configured, kick off a
0 commit comments