Stop / Restart Lighttpd Web Server

by Vivek Gite on March 13, 2008 · 1 comment

Q. I'm unable to find any commands to stop lighttpd web server? How do I stop lighttpd under Debian Linux installed using apt-get command?

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

To stop lighttpd:

Just type 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

Featured Articles:

Share this with other sys admins!
Facebook it - Tweet it - Print it -

{ 1 comment… read it below or add one }

1 Ex-Opesa December 3, 2009

thanks, it saved my time :D

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 5 + 6 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.




Previous post:

Next post: