From b4851c110297fac9660dd3c05b5bb184bdf76c10 Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Tue, 18 Sep 2018 15:16:29 -0500 Subject: [PATCH] Systemd unit file changes - Added the service unit file - Removed the dbus activation file We've filed: https://bugzilla.redhat.com/show_bug.cgi?id=1630514 Signed-off-by: Tony Asleson --- stratisd.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/stratisd.spec b/stratisd.spec index b182749..e13a724 100644 --- a/stratisd.spec +++ b/stratisd.spec @@ -6,7 +6,7 @@ Name: stratisd Version: 0.9.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Daemon that manages block devices to create filesystems License: MPLv2.0 @@ -74,8 +74,8 @@ mkdir -p %{buildroot}%{_sbindir} mv %{buildroot}%{_bindir}/stratisd %{buildroot}%{_sbindir}/stratisd-init %{__install} -Dpm0644 -t %{buildroot}%{_datadir}/dbus-1/system.d stratisd.conf -%{__install} -Dpm0644 -t %{buildroot}%{_datadir}/dbus-1/system-services org.storage.stratis1.service %{__install} -Dpm0644 -t %{buildroot}%{_mandir}/man8 docs/stratisd.8 +%{__install} -Dpm0644 -t %{buildroot}%{_unitdir} %{name}.service %if %{with check} %check @@ -89,10 +89,14 @@ mv %{buildroot}%{_bindir}/stratisd %{buildroot}%{_sbindir}/stratisd-init %{_sbindir}/stratisd-init %dir %{_datadir}/dbus-1 %{_datadir}/dbus-1/system.d/stratisd.conf -%{_datadir}/dbus-1/system-services/org.storage.stratis1.service %{_mandir}/man8/stratisd.8* +%{_unitdir}/%{name}.service %changelog +* Wed Sep 19 2018 Tony Asleson - 0.9.0-3 +- Add systemd unit file +- Remove systemd activation file + * Tue Sep 18 2018 Igor Gnatenko - 0.9.0-2 - Rebuild to workaround pungi bug