Yuvipanda has uploaded a new change for review.
https://gerrit.wikimedia.org/r/275560
Change subject: uwsgi: Stop the distro provided service properly
......................................................................
uwsgi: Stop the distro provided service properly
Bug: T124621
Change-Id: I648266785adb2e49187fb5c66115fe15bf57c7e4
---
M modules/uwsgi/manifests/init.pp
1 file changed, 5 insertions(+), 3 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/60/275560/1
diff --git a/modules/uwsgi/manifests/init.pp b/modules/uwsgi/manifests/init.pp
index 1869256..8b3b45e 100644
--- a/modules/uwsgi/manifests/init.pp
+++ b/modules/uwsgi/manifests/init.pp
@@ -17,9 +17,11 @@
package { [ 'uwsgi', 'uwsgi-dbg' ]: }
package { $plugins: }
- exec { 'remove_uwsgi_initd':
- command => '/usr/sbin/update-rc.d -f uwsgi remove',
- onlyif => '/usr/sbin/update-rc.d -n -f uwsgi remove | /bin/grep -Pq
rc..d',
+ # Stop the default uwsgi service since it is incompatible with
+ # our multi instance setup
+ service { 'uwsgi':
+ ensure => stopped,
+ enable => false,
require => Package['uwsgi'],
}
--
To view, visit https://gerrit.wikimedia.org/r/275560
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I648266785adb2e49187fb5c66115fe15bf57c7e4
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Yuvipanda <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits