summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2023-02-19 02:55:42 (GMT)
committerBritney Fransen <brfransen@gmail.com>2023-02-19 02:55:42 (GMT)
commit2bef3452f5e11a3eec4019a01c6f4b554bbe8cf5 (patch)
tree150d4589690bead14263ab63ca48f2401e5aedc2
parentb8d7d3a420dedbed240618d86bdedd8d028141c6 (diff)
downloadlinhes_pkgbuild-2bef3452f5e11a3eec4019a01c6f4b554bbe8cf5.zip
linhes_pkgbuild-2bef3452f5e11a3eec4019a01c6f4b554bbe8cf5.tar.gz
linhes_pkgbuild-2bef3452f5e11a3eec4019a01c6f4b554bbe8cf5.tar.bz2
rsyslog: rsyslog.conf: add rule for lh_ programs
-rw-r--r--linhes/rsyslog/PKGBUILD4
-rw-r--r--linhes/rsyslog/rsyslog.conf2
2 files changed, 4 insertions, 2 deletions
diff --git a/linhes/rsyslog/PKGBUILD b/linhes/rsyslog/PKGBUILD
index bb7af2b..ddcedfb 100644
--- a/linhes/rsyslog/PKGBUILD
+++ b/linhes/rsyslog/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=rsyslog
pkgver=8.2212.0
-pkgrel=2
+pkgrel=3
pkgdesc="An enhanced multi-threaded syslogd with a focus on security and reliability"
url="http://www.rsyslog.com/"
arch=('x86_64' 'i686' 'aarch64')
@@ -22,7 +22,7 @@ source=("$pkgname-$pkgver.tar.gz::https://github.com/rsyslog/rsyslog/archive/v${
sha256sums=('4b5f2205e91adf5e5821de8957a42b937505607f663c71ee381aca0011ea8e42'
'0f5bea3fd4dff2c9f097bf95768b2e1f6e9cfd9a08eab98bc3b3b4d2ed44119a'
- '4f2f0ed01a717d89ecd37b41c02ed33cd28876397035bcedd4e74b173bfa7ce3'
+ '76d3c6f0c094a768ca12e314133080444db19900679b7a82f30d4c63fdabed38'
'81b9f9b78395405b679849143a6709911d00e9317928fdb2a2540f52965847c2')
install=$pkgname.install
diff --git a/linhes/rsyslog/rsyslog.conf b/linhes/rsyslog/rsyslog.conf
index feb9621..045a82f 100644
--- a/linhes/rsyslog/rsyslog.conf
+++ b/linhes/rsyslog/rsyslog.conf
@@ -28,6 +28,8 @@ $template DynLighttpd,"/var/log/%$YEAR%-%$MONTH%-%$DAY%/%HOSTNAME%_lighttpd.log"
if $programname contains 'lighttpd' then ?DynLighttpd
& stop
+if $programname startswith 'lh_' then ?DynFile
+& stop
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!