Logoj0ke.net Open Build Service > Projects > internetx:projects:http > haproxy16 > Changes
Sign Up | Log In

Changes of Revision 2

[-] Changed haproxy.spec
x
 
1
@@ -21,6 +21,7 @@
2
 Source3:        %{name}.logrotate
3
 Source4:   %{name}.sysconfig
4
 Source5:        halog.1
5
+Source6:   haproxy.init
6
 
7
 Patch0:         halog-unused-variables.patch
8
 Patch1:         iprange-return-type.patch
9
@@ -72,7 +73,7 @@
10
 %{__make} install-bin DESTDIR=%{buildroot} PREFIX=%{_prefix} TARGET="linux2628"
11
 %{__make} install-man DESTDIR=%{buildroot} PREFIX=%{_prefix}
12
 
13
-%{__install} -p -D -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service
14
+%{__install} -p -D -m 0644 %{SOURCE1} %{buildroot}/etc/init.d/%{name}.init
15
 %{__install} -p -D -m 0644 %{SOURCE2} %{buildroot}%{haproxy_confdir}/%{name}.cfg
16
 %{__install} -p -D -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
17
 %{__install} -p -D -m 0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/sysconfig/%{name}
18