Re: Random thoughts. (Was Stuff)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Robert P. J. Day wrote:
> 
>   # service smb
>   Usage: /etc/init.d/smb {start|stop|restart|reload|status|condrestart}
> 
> rday
> 
> p.s.  i am a little annoyed that the usage message doesn't reflect how
> you invoked that feature, instead referring to "/etc/init.d/smb".
> that's bound to confuse a few people who will have no idea what it's
> referring to.

I guess they figure anyone that is accessing the scripts from the
command line should be able to figure it out. After all, running
"/etc/init.d/smb status" is just a valid as "service smb status".
But if they can not figure out that
{start|stop|restart|reload|status|condrestart} means pick one of the
commands listed, they should not be trying to manage services from
the command line. (Should they be trying to configure services at all?)

Now, most of the commands are easy to understand, but I bet the
condrestart option will confuse some people. (Do a restart only if
the service is already running.)

There is one more command that only works when using service to
access the script. If you run "service <name> --full-restart", it is
the same as running "service <name> stop" followed by "service
<name> start" or "service <name> stop ; service <name> start".

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux