@@ -34,23 +34,23 @@ mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d
install -m 644 samples/nfs.logrotate %{buildroot}/%{_sysconfdir}/logrotate.d/nfs
mkdir -p %{buildroot}/%{_unitdir}
-install -m 644 %{name}.service %{buildroot}/%{_unitdir}/%{name}.service
+install -m 644 %{name}d.service %{buildroot}/%{_unitdir}/%{name}d.service
mkdir -p %{buildroot}/%{_mandir}/man8
install -m 644 fdrd.man %{buildroot}/%{_mandir}/man8/fdrd.8
%post
-%systemd_post %{name}.service
+%systemd_post %{name}d.service
%preun
-%systemd_preun %{name}.service
+%systemd_preun %{name}d.service
%postun
-%systemd_postun_with_restart %{name}.service
+%systemd_postun_with_restart %{name}d.service
%files
%{_sbindir}/fdrd
-%{_unitdir}/fdr.service
+%{_unitdir}/fdrd.service
%{_datadir}/fdr/samples/nfs
%{_sysconfdir}/logrotate.d/nfs
%{_mandir}/man8/*
@@ -27,7 +27,7 @@ available. Error messages from fdr can be viewed via systemctl,
for example,
.P
.B
-systemctl status -l fdr
+systemctl status -l fdrd
.SH Configuration File Syntax
The following keywords and options are recognized
similarity index 100%
rename from fdr.service
rename to fdrd.service
The precedence has been set that most systemd service files are named after the daemon they start. Signed-off-by: Steve Dickson <steved@redhat.com> --- buildrpm/1.3/fdr.spec | 10 +++++----- fdrd.man | 2 +- fdr.service => fdrd.service | 0 3 files changed, 6 insertions(+), 6 deletions(-) rename fdr.service => fdrd.service (100%)