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/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255115

            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=224157&action=edit
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 show
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|enabled|describe|extracommands)

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

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

home | help

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