diff options
author | Amish | 2022-05-09 13:59:56 +0530 |
---|---|---|
committer | Amish | 2022-05-09 13:59:56 +0530 |
commit | 2292d50bab0cd5a8181ccf2e5bf361b4137c5240 (patch) | |
tree | 65361bb87b16508208f04d5638a36598a361e9e5 | |
parent | 76b35cebc4f45800426396ea53e122502276e551 (diff) | |
download | aur-2292d50bab0cd5a8181ccf2e5bf361b4137c5240.tar.gz |
Fix pidfile in logrotate config
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = suricata-nfqueue pkgdesc = A high performance Network IDS, IPS and Network Security Monitoring engine pkgver = 6.0.5 - pkgrel = 1 + pkgrel = 2 url = https://suricata.io/ install = suricata.install arch = i686 @@ -2,7 +2,7 @@ pkgname=suricata-nfqueue _pkgname=suricata pkgver=6.0.5 -pkgrel=1 +pkgrel=2 pkgdesc="A high performance Network IDS, IPS and Network Security Monitoring engine" arch=('i686' 'x86_64') url="https://suricata.io/" @@ -54,10 +54,10 @@ package() { "${pkgdir}/etc/${_pkgname}/${_pkgname}.yaml" install -Dm644 etc/"${_pkgname}".logrotate "${pkgdir}/etc/logrotate.d/${_pkgname}" - sed -i -e 's:/var/run:/run:g' \ + sed -i -e 's:/var/run:/run/suricata:g' \ "${pkgdir}/etc/logrotate.d/${_pkgname}" install -Dm644 -t "${pkgdir}"/usr/lib/systemd/system etc/"${_pkgname}".service "${srcdir}"/suricata-update.{service,timer} - sed -i -e 's:/var/run:/run:g' \ + sed -i -e 's:/var/run:/run/suricata:g' \ -e 's:^Description=.*:Description=Suricata IDS/IPS daemon:g' \ -e 's:^After=.*:After=network.target:g' \ -e 's:^ExecStartPre=.*:PIDFile=suricata/suricata.pid:g' \ |