/etc/init.d help and status

Martin Schmeisser schmeissermartin at gmail.com
Tue Apr 5 12:52:32 CDT 2005


Carl Karsten schrieb:

> 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.
>
> root at sahara:/var/www # /etc/init.d/apache2 start
>  * Starting web server (Apache2)...   [ ok ]
>
> good.
>
> root at sahara:/var/www # /etc/init.d/apache2 start
>  * Starting web server (Apache2)...
> httpd (pid 8649) already running  [ ok ]
>
> good.
>
> root at shaz:/var/www # /etc/init.d/dhcp3-server start
> Starting DHCP server: dhcpd3.
>
> I expected to see [ok]
>
> root at shaz:/var/www # /etc/init.d/dhcp3-server start
> Starting DHCP server: dhcpd3.
>
> I expected to see "....already running"
>
> root at shaz:/var/www # /etc/init.d/tftpd-hpa start
>
> Nothing.  I expected: something..... Starting... [ok]
>
>
> Carl Karsten
>
same here...i added some * to the initscripts to mak it at least look 
like the others

this behaviour is also in jabberd and mysqld. i think vsftpd too.

-- 
// Martin Schmeisser
// Waschbaehr at gmx.de | razvanudssr at gmail.com
// icq  : 323644221

//registered Linux user number 379194
//registered Linux machine number 277683





More information about the ubuntu-devel mailing list