git: 60546b68864f - stable/14 - exports.5: Update an example to use service(8)

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Tue, 23 Apr 2024 13:52:19 UTC
The branch stable/14 has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=60546b68864f37618e3cf81ec15464a83d28dfa3

commit 60546b68864f37618e3cf81ec15464a83d28dfa3
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2024-04-16 22:25:19 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-04-23 13:51:41 +0000

    exports.5: Update an example to use service(8)
    
    MFC after:      1 week
    
    (cherry picked from commit 88d09ddea0111abd74579e5c3c4ed029351feccb)
---
 usr.sbin/mountd/exports.5 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/usr.sbin/mountd/exports.5 b/usr.sbin/mountd/exports.5
index 6e5429886bd0..c3a6af5a9f0e 100644
--- a/usr.sbin/mountd/exports.5
+++ b/usr.sbin/mountd/exports.5
@@ -423,7 +423,7 @@ utility can be made to re-read the
 .Nm
 file by sending it a hangup signal as follows:
 .Bd -literal -offset indent
-/etc/rc.d/mountd reload
+service mountd reload
 .Ed
 .Pp
 After sending the
@@ -622,6 +622,7 @@ afterwards, whereas NFSv3 rejects the mount request.
 .Xr mountd 8 ,
 .Xr nfsd 8 ,
 .Xr rpc.tlsservd 8 ,
+.Xr service 8 ,
 .Xr showmount 8
 .Sh STANDARDS
 The implementation is based on the following documents: