Alexandros Kosiaris has submitted this change and it was merged.

Change subject: Use die-on-term on ores uwsgi
......................................................................


Use die-on-term on ores uwsgi

It takes 1:30 to restart uwsgi because the main can't shut down with sigterm
Then it timesout and the system does what I'm doing here (with SIGINT).

Bug: T131572
Bug: T118495
Change-Id: I9561bfb56f6f9c68c7ee4d531558b1a20b303580
---
M modules/ores/manifests/web.pp
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Dereckson: Looks good to me, but someone else must approve
  Alexandros Kosiaris: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/ores/manifests/web.pp b/modules/ores/manifests/web.pp
index 4581bec..f993d54 100644
--- a/modules/ores/manifests/web.pp
+++ b/modules/ores/manifests/web.pp
@@ -21,6 +21,7 @@
                 # lint:ignore:single_quote_string_with_variables
                 route-if    => 'equal:${HTTP_X_FORWARDED_PROTO};http 
redirect-permanent:https://${HTTP_HOST}${REQUEST_URI}',
                 # lint:endignore
+                die-on-term => true,
             }
         }
     }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I9561bfb56f6f9c68c7ee4d531558b1a20b303580
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ladsgroup <[email protected]>
Gerrit-Reviewer: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: Dereckson <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: Yuvipanda <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to