add /etc/init.d/maxscale to the package
This commit is contained in:
@ -39,9 +39,11 @@ ln -s /lib64/libaio.so.1 /lib64/libaio.so
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d/
|
mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d/
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/etc/init.d/
|
||||||
mkdir -p $RPM_BUILD_ROOT%{install_path}
|
mkdir -p $RPM_BUILD_ROOT%{install_path}
|
||||||
cp -r binaries/* $RPM_BUILD_ROOT%{install_path}
|
cp -r binaries/* $RPM_BUILD_ROOT%{install_path}
|
||||||
cp maxscale.conf $RPM_BUILD_ROOT/etc/ld.so.conf.d/
|
cp maxscale.conf $RPM_BUILD_ROOT/etc/ld.so.conf.d/
|
||||||
|
cp -r etc/init.d/maxscale $RPM_BUILD_ROOT/etc/init.d/
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
|
|
||||||
@ -49,5 +51,6 @@ cp maxscale.conf $RPM_BUILD_ROOT/etc/ld.so.conf.d/
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{install_path}
|
%{install_path}
|
||||||
/etc/ld.so.conf.d/maxscale.conf
|
/etc/ld.so.conf.d/maxscale.conf
|
||||||
|
/etc/inid.d/maxscale
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user