git: 11fdd8dc8f - main - cups: reference service(8) rather than rc.d scripts directly

Ed Maste <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/doc/commit/?id=11fdd8dc8f1fcc505088dca588dc3de5650525c7

commit 11fdd8dc8f1fcc505088dca588dc3de5650525c7
Author:     Ed Maste <[email protected]>
AuthorDate: 2024-11-11 20:42:08 +0000
Commit:     Ed Maste <[email protected]>
CommitDate: 2024-12-29 14:52:33 +0000

    cups: reference service(8) rather than rc.d scripts directly
    
    service(8) is a more convenient user interface to rc.d scripts.
    
    Reviewed by:    bofh
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D47886
---
 documentation/content/en/articles/cups/_index.adoc | 4 ++--
 documentation/content/en/articles/cups/_index.po   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/documentation/content/en/articles/cups/_index.adoc b/documentation/content/en/articles/cups/_index.adoc
index cc7b52b604..d2d983abdc 100644
--- a/documentation/content/en/articles/cups/_index.adoc
+++ b/documentation/content/en/articles/cups/_index.adoc
@@ -116,8 +116,8 @@ Once these changes have been made, the man:devfs[8] and CUPS systems must both b
 
 [source,shell]
 ....
-# /etc/rc.d/devfs restart
-# /usr/local/etc/rc.d/cupsd restart
+# service devfs restart
+# service cupsd restart
 ....
 
 [[printing-cups-configuring-printers]]
diff --git a/documentation/content/en/articles/cups/_index.po b/documentation/content/en/articles/cups/_index.po
index b377aee531..96799bbd25 100644
--- a/documentation/content/en/articles/cups/_index.po
+++ b/documentation/content/en/articles/cups/_index.po
@@ -188,8 +188,8 @@ msgstr ""
 #: documentation/content/en/articles/cups/_index.adoc:121
 #, no-wrap
 msgid ""
-"# /etc/rc.d/devfs restart\n"
-"# /usr/local/etc/rc.d/cupsd restart\n"
+"# service devfs restart\n"
+"# service cupsd restart\n"
 msgstr ""
 
 #. type: Title ==
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.