PATCH 1: Change the Systemd service name from "garb" to "garbd"
This commit is contained in:
parent
c25dc28d15
commit
369e7859a2
13
galera.spec
13
galera.spec
@ -61,6 +61,16 @@ cmake -B %_vpath_builddir -LAH
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
# PATCH 1:
|
||||
# Change the Systemd service name from "garb" to "garbd"
|
||||
#
|
||||
# The Galera upstream uses name "garb" for the service while providing "garbd" alias
|
||||
# Fedora downstream packaging historically used "garbd" name for the service.
|
||||
#
|
||||
# Let's stick with the Fedora legacy naming, AND provide an alias to the Galera upstream name
|
||||
mv %{buildroot}/usr/lib/systemd/system/garb.service %{buildroot}/usr/lib/systemd/system/garbd.service
|
||||
sed -i 's/Alias=garbd.service/Alias=garb.service/g' %{buildroot}/usr/lib/systemd/system/garbd.service
|
||||
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
@ -86,8 +96,7 @@ cmake -B %_vpath_builddir -LAH
|
||||
|
||||
%{_mandir}/man8/garbd.8*
|
||||
|
||||
#%{_unitdir}/garbd.service
|
||||
%{_unitdir}/garb.service
|
||||
%{_unitdir}/garbd.service
|
||||
|
||||
%{_libdir}/galera/libgalera_smm.so
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user