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:
parent
302bd37544
commit
b4851c1102
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: stratisd
|
Name: stratisd
|
||||||
Version: 0.9.0
|
Version: 0.9.0
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Daemon that manages block devices to create filesystems
|
Summary: Daemon that manages block devices to create filesystems
|
||||||
|
|
||||||
License: MPLv2.0
|
License: MPLv2.0
|
||||||
@ -74,8 +74,8 @@ mkdir -p %{buildroot}%{_sbindir}
|
|||||||
mv %{buildroot}%{_bindir}/stratisd %{buildroot}%{_sbindir}/stratisd-init
|
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.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}%{_mandir}/man8 docs/stratisd.8
|
||||||
|
%{__install} -Dpm0644 -t %{buildroot}%{_unitdir} %{name}.service
|
||||||
|
|
||||||
%if %{with check}
|
%if %{with check}
|
||||||
%check
|
%check
|
||||||
@ -89,10 +89,14 @@ mv %{buildroot}%{_bindir}/stratisd %{buildroot}%{_sbindir}/stratisd-init
|
|||||||
%{_sbindir}/stratisd-init
|
%{_sbindir}/stratisd-init
|
||||||
%dir %{_datadir}/dbus-1
|
%dir %{_datadir}/dbus-1
|
||||||
%{_datadir}/dbus-1/system.d/stratisd.conf
|
%{_datadir}/dbus-1/system.d/stratisd.conf
|
||||||
%{_datadir}/dbus-1/system-services/org.storage.stratis1.service
|
|
||||||
%{_mandir}/man8/stratisd.8*
|
%{_mandir}/man8/stratisd.8*
|
||||||
|
%{_unitdir}/%{name}.service
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Sep 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.0-2
|
||||||
- Rebuild to workaround pungi bug
|
- Rebuild to workaround pungi bug
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user