git: 88d09ddea011 - main - exports.5: Update an example to use service(8)

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Tue, 16 Apr 2024 22:31:43 UTC
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=88d09ddea0111abd74579e5c3c4ed029351feccb

commit 88d09ddea0111abd74579e5c3c4ed029351feccb
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2024-04-16 22:25:19 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-04-16 22:25:19 +0000

    exports.5: Update an example to use service(8)
    
    MFC after:      1 week
---
 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 33ab4f693978..a94b5348b572 100644
--- a/usr.sbin/mountd/exports.5
+++ b/usr.sbin/mountd/exports.5
@@ -402,7 +402,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
@@ -600,6 +600,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: