File tree Expand file tree Collapse file tree 2 files changed +0
-23
lines changed Expand file tree Collapse file tree 2 files changed +0
-23
lines changed Original file line number Diff line number Diff line change 200
200
ghe-backup-store-version ||
201
201
echo " Warning: storing backup-utils version remotely failed."
202
202
203
- # Stop cron and timerd, as scheduled jobs may disrupt the restore process.
204
- if [ " $GHE_VERSION_MAJOR " -ge 2 ]; then
205
- if $cluster ; then
206
- ghe-ssh " $GHE_HOSTNAME " -- " ghe-cluster-each -- sudo service cron stop"
207
- ghe-ssh " $GHE_HOSTNAME " -- " ghe-cluster-each -- sudo service github-timerd stop"
208
- else
209
- ghe-ssh " $GHE_HOSTNAME " -- " sudo service cron stop"
210
- ghe-ssh " $GHE_HOSTNAME " -- " sudo service github-timerd stop"
211
- fi
212
- fi
213
-
214
203
# Restore settings and license if restoring to an unconfigured appliance or when
215
204
# specified manually.
216
205
if $restore_settings ; then
@@ -334,15 +323,6 @@ elif $instance_configured; then
334
323
fi
335
324
fi
336
325
337
- # Start cron. Timerd will start automatically as part of the config run.
338
- if [ " $GHE_VERSION_MAJOR " -ge 2 ]; then
339
- if $cluster ; then
340
- ghe-ssh " $GHE_HOSTNAME " -- " ghe-cluster-each -- sudo service cron start"
341
- else
342
- ghe-ssh " $GHE_HOSTNAME " -- " sudo service cron start"
343
- fi
344
- fi
345
-
346
326
# Update the remote status to "complete". This has to happen before importing
347
327
# ssh host keys because subsequent commands will fail due to the host key
348
328
# changing otherwise.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments