Ottomata has uploaded a new change for review.

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

Change subject: [WIP] Run eventlogging services out of deployed eventlogging 
source path
......................................................................

[WIP] Run eventlogging services out of deployed eventlogging source path

Bug: T131263
Change-Id: Ieb86c72d934082b8ac2e34713e5a4787ed2925ab
---
M modules/eventlogging/files/init/consumer.conf
1 file changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/97/280497/1

diff --git a/modules/eventlogging/files/init/consumer.conf 
b/modules/eventlogging/files/init/consumer.conf
index 329f538..a749486 100644
--- a/modules/eventlogging/files/init/consumer.conf
+++ b/modules/eventlogging/files/init/consumer.conf
@@ -14,7 +14,10 @@
 setuid eventlogging
 setgid eventlogging
 
-exec eventlogging-consumer "@$CONFIG"
+chdir=/srv/deployment/eventlogging/eventlogging
+env PYTHONPATH=/srv/deployment/eventlogging/eventlogging
+
+exec /srv/deployment/eventlogging/eventlogging/eventlogging-consumer "@$CONFIG"
 
 respawn
 respawn limit unlimited  # Keep trying to restart.

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ieb86c72d934082b8ac2e34713e5a4787ed2925ab
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ottomata <[email protected]>

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

Reply via email to