BBlack has uploaded a new change for review.

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

Change subject: varnishreqstats: fix systemd deps
......................................................................

varnishreqstats: fix systemd deps

Change-Id: If4cbca2b04f7ae3eaaabb983ab51f55591f71ca7
---
M modules/varnish/templates/initscripts/varnishreqstats.systemd.erb
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/68/286768/1

diff --git a/modules/varnish/templates/initscripts/varnishreqstats.systemd.erb 
b/modules/varnish/templates/initscripts/varnishreqstats.systemd.erb
index 63b132a..f23e853 100644
--- a/modules/varnish/templates/initscripts/varnishreqstats.systemd.erb
+++ b/modules/varnish/templates/initscripts/varnishreqstats.systemd.erb
@@ -1,7 +1,7 @@
 [Unit]
 Description=Varnish Request Stats StatsD reporter
-After=<%= @varnish_service_name %>
-Requires=<%= @varnish_service_name %>
+After=<%= @varnish_service_name %>.service
+Requires=<%= @varnish_service_name %>.service
 
 [Service]
 ExecStart=/usr/local/bin/varnishreqstats <%= /\w/.match(@instance_name) ? 
"--varnish-name=#{@instance_name}" : ""  %> --statsd=<%= @statsd %> 
--metric-prefix=<%= @metric_prefix %> --interval=<%= @interval %>

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

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

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

Reply via email to