]> git.openstreetmap.org Git - chef.git/commitdiff
imagery: use stop_when_unneeded for mapserver service
authorGrant Slater <github@firefishy.com>
Tue, 3 Dec 2024 13:03:10 +0000 (13:03 +0000)
committerGrant Slater <github@firefishy.com>
Tue, 3 Dec 2024 13:03:49 +0000 (13:03 +0000)
cookbooks/imagery/resources/site.rb

index 856159be9b80c4efa1914253c069f564dfe066e0..ab5f2d96c785cc93bdba13a7f6042be76d3c00c0 100644 (file)
@@ -107,6 +107,7 @@ action :create do
                 "MS_ERRORFILE" => "stderr",
                 "GDAL_CACHEMAX" => "512"
     limit_nofile 16384
+    stop_when_unneeded true
     user "imagery"
     group "imagery"
     exec_start "/usr/bin/multiwatch -f 8 --signal=TERM -- /usr/lib/cgi-bin/mapserv"