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 <tasleson@redhat.com>
This commit is contained in:
Tony Asleson 2018-09-18 15:16:29 -05:00
parent 302bd37544
commit b4851c1102

View File

@ -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 <tasleson@redhat.com> - 0.9.0-3
- Add systemd unit file
- Remove systemd activation file
* Tue Sep 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.0-2
- Rebuild to workaround pungi bug