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 c6b6ba2 + 2c1d772 commit e248364Copy full SHA for e248364
bin/ghe-restore
@@ -89,11 +89,11 @@ done
89
start_cron () {
90
echo "Starting cron ..."
91
if $CLUSTER; then
92
- if ! ghe-ssh "$GHE_HOSTNAME" -- "ghe-cluster-each -- sudo service cron start"; then
+ if ! ghe-ssh "$GHE_HOSTNAME" -- "ghe-cluster-each -- sudo timeout 120s service cron start"; then
93
echo "* Warning: Failed to start cron on one or more nodes"
94
fi
95
else
96
- if ! ghe-ssh "$GHE_HOSTNAME" -- "sudo service cron start"; then
+ if ! ghe-ssh "$GHE_HOSTNAME" -- "sudo timeout 120s service cron start"; then
97
echo "* Warning: Failed to start cron"
98
99
0 commit comments