Project

General

Profile

How to do graceful restart?

Added by Geoff about 15 years ago

I've always used "/etc/init.d/lighttpd restart" whenever I make changes to my config, but then my surfers get angry at me for cutting them off. I was told that "kill -HUP <pid>" would reload my config, but it doesn't seem to do so. What am I doing wrong?

I'm using Ubuntu with lighttpd 1.4.19

Thanks in advance


Replies (4)

RE: How to do graceful restart? - Added by Geoff about 15 years ago

Nope, thank you! Do I just put this in a .sh file and run it to restart lighttpd? Sorry I don't have much experience with shell scripts.

RE: How to do graceful restart? - Added by westdude about 15 years ago

Noob question. Does this script works for Fedora 9? Anyone?

RE: How to do graceful restart? - Added by Geoff about 15 years ago

Bump. Anyone know how to use this script? :(

    (1-4/4)