Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 2021 10:59:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 255115] [PATCH] Allow service(8) to run rc.d scripts without arguments
Message-ID:  <bug-255115-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 255115
           Summary: [PATCH] Allow service(8) to run rc.d scripts without
                    arguments
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: sd@mostnet.ru

Created attachment 224157
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D224157&action=
=3Dedit
patch

Current service(8) shows help message when running script without arguments
(e.g. service motd). At the same time rc.d scripts allow no arguments and s=
how
script usage and their commands:
# /etc/rc.d/motd
Usage: /etc/rc.d/motd
[fast|force|one|quiet](start|stop|restart|rcvar|enable|disable|delete|enabl=
ed|describe|extracommands)

It's quite useful when you want to see possible arguments for some service.

--=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-255115-227>