From: Steve Dickson <steved@redhat.com>
To: Bill Baker <webbaker@gmail.com>, Calum Mackay <calum.mackay@oracle.com>
Cc: Linux NFS Mailing list <linux-nfs@vger.kernel.org>
Subject: [PATCH 3/5] systemd: rename service file.
Date: Sun, 30 Jan 2022 14:06:09 -0500 [thread overview]
Message-ID: <20220130190611.12292-4-steved@redhat.com> (raw)
In-Reply-To: <20220130190611.12292-1-steved@redhat.com>
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%)
diff --git a/buildrpm/1.3/fdr.spec b/buildrpm/1.3/fdr.spec
index 3484659..226db33 100644
--- a/buildrpm/1.3/fdr.spec
+++ b/buildrpm/1.3/fdr.spec
@@ -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/*
diff --git a/fdrd.man b/fdrd.man
index d5199f0..99f7f80 100644
--- a/fdrd.man
+++ b/fdrd.man
@@ -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
diff --git a/fdr.service b/fdrd.service
similarity index 100%
rename from fdr.service
rename to fdrd.service
--
2.34.1
next prev parent reply other threads:[~2022-01-30 19:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-30 19:06 [PATCH 0/5] Flight Data Recorder Update Steve Dickson
2022-01-30 19:06 ` [PATCH 1/5] Makefile: cleaned up the usage of RPMBUILD_DIR Steve Dickson
2022-01-30 19:06 ` [PATCH 2/5] fdr.spec: logrotate clean up Steve Dickson
2022-01-30 19:06 ` Steve Dickson [this message]
2022-01-30 19:06 ` [PATCH 4/5] saveto verb: Document updated Steve Dickson
2022-01-30 19:06 ` [PATCH 5/5] configs: Add an nfsall.conf config file Steve Dickson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220130190611.12292-4-steved@redhat.com \
--to=steved@redhat.com \
--cc=calum.mackay@oracle.com \
--cc=linux-nfs@vger.kernel.org \
--cc=webbaker@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.