[MediaWiki-commits] [Gerrit] Make it possible to reload systemd hosted varnishkafka insta... - change (operations...varnishkafka)

2015-04-06 Thread Ottomata (Code Review)
Ottomata has uploaded a new change for review.

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

Change subject: Make it possible to reload systemd hosted varnishkafka instances
..

Make it possible to reload systemd hosted varnishkafka instances

Change-Id: I0de2e88025657796faebae09653162bc10fc9dc5
---
M templates/initscripts/varnishkafka.systemd.erb
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet/varnishkafka 
refs/changes/84/202084/1

diff --git a/templates/initscripts/varnishkafka.systemd.erb 
b/templates/initscripts/varnishkafka.systemd.erb
index 9734022..2788419 100644
--- a/templates/initscripts/varnishkafka.systemd.erb
+++ b/templates/initscripts/varnishkafka.systemd.erb
@@ -7,6 +7,7 @@
 [Service]
 Type=simple
 ExecStart=/usr/bin/varnishkafka -S /etc/varnishkafka/%= 
@name.gsub(/^varnishkafka-/, '') %.conf
+ExecReload=/bin/kill -HUP $MAINPID
 Restart=on-failure
 
 [Install]

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0de2e88025657796faebae09653162bc10fc9dc5
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet/varnishkafka
Gerrit-Branch: master
Gerrit-Owner: Ottomata o...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] Make it possible to reload systemd hosted varnishkafka insta... - change (operations...varnishkafka)

2015-04-06 Thread Ottomata (Code Review)
Ottomata has submitted this change and it was merged.

Change subject: Make it possible to reload systemd hosted varnishkafka instances
..


Make it possible to reload systemd hosted varnishkafka instances

Change-Id: I0de2e88025657796faebae09653162bc10fc9dc5
---
M templates/initscripts/varnishkafka.systemd.erb
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Ottomata: Verified; Looks good to me, approved



diff --git a/templates/initscripts/varnishkafka.systemd.erb 
b/templates/initscripts/varnishkafka.systemd.erb
index 9734022..2788419 100644
--- a/templates/initscripts/varnishkafka.systemd.erb
+++ b/templates/initscripts/varnishkafka.systemd.erb
@@ -7,6 +7,7 @@
 [Service]
 Type=simple
 ExecStart=/usr/bin/varnishkafka -S /etc/varnishkafka/%= 
@name.gsub(/^varnishkafka-/, '') %.conf
+ExecReload=/bin/kill -HUP $MAINPID
 Restart=on-failure
 
 [Install]

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0de2e88025657796faebae09653162bc10fc9dc5
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet/varnishkafka
Gerrit-Branch: master
Gerrit-Owner: Ottomata o...@wikimedia.org
Gerrit-Reviewer: Ottomata o...@wikimedia.org

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