Alexandros Kosiaris has uploaded a new change for review.

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

Change subject: Fix parsoid upstart job bug due to old job
......................................................................

Fix parsoid upstart job bug due to old job

The /etc/init.d/parsoid stop line will fail and the entire upstart job
will fail after that. Using /bin/true in order to ensure a success and
avoid having the parsoid upstart job failing

Change-Id: Ie9eba3de2fa4d4cff0063ad761ee42f38d9949c3
---
M files/misc/parsoid.upstart
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/75/110975/1

diff --git a/files/misc/parsoid.upstart b/files/misc/parsoid.upstart
index cdd43ce..fbfda9a 100644
--- a/files/misc/parsoid.upstart
+++ b/files/misc/parsoid.upstart
@@ -30,7 +30,7 @@
 script
     # kill any init-based instances for init -> upstart transition
     if [ -x "/etc/init.d/parsoid" ] ; then
-        /etc/init.d/parsoid stop
+        /etc/init.d/parsoid stop || /bin/true
     fi
 
     if [ -f "$DEFAULTFILE" ] ; then

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie9eba3de2fa4d4cff0063ad761ee42f38d9949c3
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alexandros Kosiaris <akosia...@wikimedia.org>

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

Reply via email to