From 263be7806cb50a8badf6f6dac250a674ca14dc72 Mon Sep 17 00:00:00 2001 From: Bastien Wirtz Date: Sat, 2 Jul 2022 14:29:34 +0200 Subject: [PATCH] Prevent webserver restart on clock jump --- lighttpd.conf | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/lighttpd.conf b/lighttpd.conf index 32e14da..f62657a 100644 --- a/lighttpd.conf +++ b/lighttpd.conf @@ -1,10 +1,11 @@ include "/etc/lighttpd/mime-types.conf" -server.port = env.PORT -server.modules = ( "mod_alias" ) -server.username = "lighttpd" -server.groupname = "lighttpd" -server.document-root = "/www" -alias.url = ( env.SUBFOLDER => "/www" ) -server.indexfiles = ("index.html") -server.follow-symlink = "enable" +server.port = env.PORT +server.modules = ( "mod_alias" ) +server.username = "lighttpd" +server.groupname = "lighttpd" +server.document-root = "/www" +alias.url = ( env.SUBFOLDER => "/www" ) +server.indexfiles = ("index.html") +server.follow-symlink = "enable" +server.feature-flags += ( "server.clock-jump-restart" => 0 ) \ No newline at end of file