]> git.pld-linux.org Git - packages/lighttpd.git/commitdiff
- change the way config files are included, so in case of error the error auto/ac/lighttpd-1_4_26-7 auto/ti/lighttpd-1_4_26-7
authorJacek Konieczny <jajcus@pld-linux.org>
Tue, 25 May 2010 06:45:49 +0000 (06:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  messages show exact location of the problem

Changed files:
    lighttpd.conf -> 1.49

lighttpd.conf

index a797920c2999ee9fe8611462f9d745ff723a0fdd..01637aa6c5835a7b44eb8ea755a456cadc567ab1 100644 (file)
@@ -1,7 +1,7 @@
 # $Id$
 # lighttpd configuration file.
 
-include_shell "/bin/cat conf.d/*.conf"
+include_shell "for f in conf.d/*.conf ; do [ -f \"$f\" ] && echo \"include \\"$f\\"\" ; done"
 
 ## a static document-root, for virtual-hosting take look at the
 ## server.virtual-* options
@@ -108,7 +108,7 @@ server.groupname           = "lighttpd"
 #server.kbytes-per-second = 128
 
 # webapps configs
-include_shell "/bin/cat webapps.d/*.conf 2>/dev/null"
+include_shell "for f in webapps.d/*.conf ; do [ -f \"$f\" ] && echo \"include \\"$f\\"\" ; done"
 
 # vhosts config
-include_shell "/bin/cat vhosts.d/*.conf 2>/dev/null"
+include_shell "for f in vhosts.d/*.conf ; do [ -f \"$f\" ] && echo \"include \\"$f\\"\" ; done"
This page took 0.180987 seconds and 4 git commands to generate.