/etc/init.d help and status

Matt Zimmerman mdz at ubuntu.com
Tue Apr 5 12:43:46 CDT 2005


On Tue, Apr 05, 2005 at 12:34:52PM -0500, Carl Karsten wrote:

> I am wondering what is "expected" - if I am seeing things that are not, 
> I'll tell bugzilla about it.
> 
> root at sahara:/var/www # /etc/init.d/apache2
>  * Usage: /etc/init.d/apache2 start|stop|restart|reload|force-reload
> 
> I expected to see a "status" option.

This is neither required, nor recommended.

> root at shaz:/var/www # /etc/init.d/dhcp3-server start
> Starting DHCP server: dhcpd3.
> 
> I expected to see [ok]

There are many init scripts in Ubuntu which do not use the LSB functions for
formatting; please don't file bugs about them.

> root at shaz:/var/www # /etc/init.d/tftpd-hpa start
> 
> Nothing.  I expected: something..... Starting... [ok]

I think tftpd-hpa is configured to run from inetd by default, in which case
it *is* in fact running by default, and there is no bug.

-- 
 - mdz



More information about the ubuntu-devel mailing list