[Bug 285001] service(8): clarify that -R does not use the restart method for each service
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 285001] service(8): clarify that -R does not use the restart method for each service"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 285001] service(8): clarify that -R does not use the restart method for each service"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 23 Feb 2025 23:28:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285001
Bug ID: 285001
Summary: service(8): clarify that -R does not use the restart
method for each service
Product: Documentation
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Manual Pages
Assignee: bugs@FreeBSD.org
Reporter: ceri@FreeBSD.org
CC: doc@FreeBSD.org
Created attachment 257779
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=257779&action=edit
A patch to the service(8) manpage.
If a service, say foo, has overridden restart_cmd in its rc.d/foo file then
this will be effective when called with "service foo restart".
The service(8) command has a -R argument which purports to restart each
service. However, it actually calls "service foo stop" followed by "service
foo start", rendering the override of restart_cmd ineffective.
This is pretty niche, but can be simply clarified in the manpage. Patch
attached.
--
You are receiving this mail because:
You are on the CC list for the bug.