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:
1 | # /etc/init.d/lighttpd stop |
To restart lighttpd:
Just type the following command to restart lighttpd:
1 | # /etc/init.d/lighttpd restart |
To start lighttpd:
1 | # /etc/init.d/lighttpd start |
Debian / Ubuntu Linux Start lighttpd
1 | # /etc/init.d/lighttpd start |
Debian / Ubuntu Linux - Stop lighttpd
1 | # /etc/init.d/lighttpd stop |
Debian / Ubuntu Linux - Restart lighttpd
1 | # /etc/init.d/lighttpd restart |
FreeBSD Start lighttpd web server
1 | # /usr/local/etc/rc.d/lighttpd start |
FreeBSD - Stop lighttpd webserver
1 | # /usr/local/etc/rc.d/lighttpd stop |
FreeBSD - Restart lighttpd webserver
1 | # /usr/local/etc/rc.d/lighttpd restart |
In case if you don't have init script, type the following:
1 | # killall lighttpd |