From 7f2c55e380f909b1d551340e3f174672de507cc3 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Sat, 11 Feb 2023 23:08:41 -0500
Subject: linhes-system: lh_lighttpd.conf: log errors to syslog

---
 linhes/linhes-system/PKGBUILD         | 4 ++--
 linhes/linhes-system/lh_lighttpd.conf | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/linhes/linhes-system/PKGBUILD b/linhes/linhes-system/PKGBUILD
index e87ffad..88194ce 100755
--- a/linhes/linhes-system/PKGBUILD
+++ b/linhes/linhes-system/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=linhes-system
 pkgver=9.0.0
-pkgrel=41
+pkgrel=42
 arch=('x86_64')
 #install=$pkgname.install
 pkgdesc="Everything that makes LinHES a system"
@@ -64,7 +64,7 @@ sha256sums=('525bfe29b63d3ec5a17a32fa29745e24070020490c3f5b6dd6b03250348fb324'
             '6c42b2920c6a37bf3dd05755b9e3fdd80137708cc55a7d1bef2234c17dff0349'
             'dead17906b33a7f9d66ad13bb1c083a23438f45ece9bd5ec41ff86eda01c132a'
             '7f5b366075fa61fadfcdbab2837f0c58f3a8004a59fc8948fec1647d2573ffaa'
-            '73aae13c47223c4ebb45c5cb2aff19a72b6b32cc0d9e7c83de9f97ada593b411'
+            '806e42821252c148701c130cc82aebed4f9f678f3f89987638231e4015d51e84'
             'd4e37e72854edcba76b5464617bea3826e0495f9788340aa318d5f3cf29e87a2'
             'a9d0a94ff442453f0bec0b2e8afd591cf17b2845b6ae45ff300530114efd30af'
             '47ace62d7e7e651f25dc7c0a2e96d0862f5efe1a583eeda2843b1fc1499141fe'
diff --git a/linhes/linhes-system/lh_lighttpd.conf b/linhes/linhes-system/lh_lighttpd.conf
index 1831925..90375b8 100644
--- a/linhes/linhes-system/lh_lighttpd.conf
+++ b/linhes/linhes-system/lh_lighttpd.conf
@@ -36,13 +36,13 @@ server.modules              = (
 server.document-root        = "/data/srv/httpd/htdocs"
 
 ## where to send error-messages to
-server.errorlog             = "/var/log/lighttpd/error.log"
+#server.errorlog             = "/var/log/lighttpd/error.log"
 #### accesslog module
 #accesslog.filename          = "/var/log/lighttpd/access.log"
 
 ##send errors to syslog
-#server.errorlog-use-syslog      = "enable"
-#$HTTP["url"] !~ "\.(jpe?g|png|gif|css)" { accesslog.use-syslog = "enable" }
+server.errorlog-use-syslog      = "enable"
+$HTTP["url"] !~ "\.(jpe?g|png|gif|css)" { accesslog.use-syslog = "enable" }
 
 ## File uploads
 # Make sure this folder exists and is writable to server.username
-- 
cgit v0.12

