ManyCodes.com – codes & scripts Get free programming codes and tutorials!

10Aug/090

How to Stop/Restart Lighttpd Web Server in Debian / Ubuntu / FreeBSD linux

/etc/init.d/lighttpd is a script under Linux to stop / restart lighttpd web server.

To stop lighttpd:

Use the following command to stop lighttpd:

# /etc/init.d/lighttpd stop

To restart lighttpd:

Just type the following command to restart lighttpd:

# /etc/init.d/lighttpd restart

To start lighttpd:

# /etc/init.d/lighttpd start

Debian / Ubuntu Linux Start lighttpd

# /etc/init.d/lighttpd start

Debian / Ubuntu Linux - Stop lighttpd

# /etc/init.d/lighttpd stop

Debian / Ubuntu Linux - Restart lighttpd

# /etc/init.d/lighttpd restart

FreeBSD Start lighttpd web server

# /usr/local/etc/rc.d/lighttpd start

FreeBSD - Stop lighttpd webserver

# /usr/local/etc/rc.d/lighttpd stop

FreeBSD - Restart lighttpd webserver

# /usr/local/etc/rc.d/lighttpd restart

In case if you don't have init script, type the following:

# killall lighttpd



Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Webnews
  • Digg
  • del.icio.us
  • StumbleUpon
  • Reddit
  • Ask
  • Facebook
  • Technorati
  • YahooBuzz