generators/vulcanize/templates/haproxy/config/rubber/role/haproxy/syslog-haproxy.conf in rubber-1.3.2 vs generators/vulcanize/templates/haproxy/config/rubber/role/haproxy/syslog-haproxy.conf in rubber-1.5.0
- old
+ new
@@ -1,9 +1,9 @@
<%
is_rsyslog = File.exist?('/etc/init.d/rsyslog')
if is_rsyslog
@path = "/etc/rsyslog.d/haproxy.conf"
- @post = "/etc/init.d/rsyslog restart"
+ @post = "service rsyslog restart"
else
@path = "/etc/syslog.conf"
@post = "/etc/init.d/sysklogd restart"
end
%>