]> git.immae.eu Git - github/bastienwirtz/homer.git/commitdiff
Prevent webserver restart on clock jump
authorBastien Wirtz <bastien.wirtz@gmail.com>
Sat, 2 Jul 2022 12:29:34 +0000 (14:29 +0200)
committerBastien Wirtz <bastien.wirtz@gmail.com>
Sat, 2 Jul 2022 12:29:34 +0000 (14:29 +0200)
lighttpd.conf

index 32e14da4781f63affff921297930d8317c9c669d..f62657aed50b2df20c921f492b8412d452b45da8 100644 (file)
@@ -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