Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Feb 2025 23:28:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 285001] service(8): clarify that -R does not use the restart method for each service
Message-ID:  <bug-285001-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D285001

            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=3D257779&action=
=3Dedit
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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-285001-227>