You are here

How to gracefully restart lighttpd

Ivan Radovanovic's picture

Gracefully here meaning without loosing any request which is in processing (request which are not accepted yet might still be rejected)

Send SIGINT to lighttpd and then start new instance of it - the one received INT will stop listening for new connections but it will finish all connections it already accepted and exit after it
killall -INT lighttpd && lighttpd -f config_file



Ivan Radovanovic's picture

Can be achieved by running service lighttpd graceful

working in AraxaTech