Faidon Liambotis has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/262079

Change subject: mediawiki: silence HHVM jobrunner restart cron
......................................................................

mediawiki: silence HHVM jobrunner restart cron

Change-Id: I40c090b7b26e3b7745c3bbb52a0381db53779a05
---
M modules/mediawiki/manifests/jobrunner.pp
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/79/262079/1

diff --git a/modules/mediawiki/manifests/jobrunner.pp 
b/modules/mediawiki/manifests/jobrunner.pp
index ea8f70a..cc1654f 100644
--- a/modules/mediawiki/manifests/jobrunner.pp
+++ b/modules/mediawiki/manifests/jobrunner.pp
@@ -110,7 +110,7 @@
         # Hack for T122069: Once a day, check the uptime of HHVM. If HHVM has
         # been running for more than a day, restart it.
         cron { 'periodic_hhvm_restart':
-            command => '/bin/ps -C hhvm -o etime= | /bin/grep -q - && 
/sbin/initctl restart hhvm',
+            command => '/bin/ps -C hhvm -o etime= | /bin/grep -q - && 
/sbin/initctl restart hhvm 2>/dev/null',
             hour    => fqdn_rand(23, 'periodic_hhvm_restart'),
         }
     }

-- 
To view, visit https://gerrit.wikimedia.org/r/262079
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I40c090b7b26e3b7745c3bbb52a0381db53779a05
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Faidon Liambotis <fai...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to