/etc/init.d help and status

Carl Karsten carl at personnelware.com
Tue Apr 5 12:34:52 CDT 2005


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



More information about the ubuntu-devel mailing list