Correct variable name in systemd unit
authorTollef Fog Heen <tfheen@err.no>
Sat, 30 Sep 2017 19:53:41 +0000 (21:53 +0200)
committerTollef Fog Heen <tfheen@err.no>
Sat, 30 Sep 2017 19:53:41 +0000 (21:53 +0200)
modules/roles/templates/mirror-health.service.erb

index badcd33..918722f 100644 (file)
@@ -4,11 +4,11 @@
 ##
 
 [Unit]
-Description=Mirror health checking <%= @healthcheck_service %>
+Description=Mirror health checking <%= @check_service %>
 
 [Service]
 ExecStart=/usr/local/sbin/mirror-health
-RuntimeDirectory=dsa-mirror-health-<%= @healthcheck_service %>
+RuntimeDirectory=dsa-mirror-health-<%= @check_service %>
 ProtectSystem=full
 ProtectHome=read-only
 PrivateTmp=true