Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] suricata: minor changes to run file
@ 2023-12-12 11:01 c0m4r
  2023-12-18 18:51 ` [PR PATCH] [Closed]: " c0m4r
  0 siblings, 1 reply; 2+ messages in thread
From: c0m4r @ 2023-12-12 11:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 477 bytes --]

There is a new pull request by c0m4r against master on the void-packages repository

https://github.com/c0m4r/void-packages patch-3
https://github.com/void-linux/void-packages/pull/47711

suricata: minor changes to run file
suppressing stdout as it's already being sent to the log
added missing /var/run/suricata

#### Testing the changes
- I tested the changes in this PR: **YES**

A patch file from https://github.com/void-linux/void-packages/pull/47711.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-3-47711.patch --]
[-- Type: text/x-diff, Size: 1018 bytes --]

From d5ea8b43451c32dfa08f80f4ce9942a3114502f7 Mon Sep 17 00:00:00 2001
From: c0m4r <github@wolfet.pl>
Date: Tue, 12 Dec 2023 11:58:26 +0100
Subject: [PATCH] suricata: minor changes to run file

suppressing stdout as it's already being sent to the log
added missing /var/run/suricata
---
 srcpkgs/suricata/files/suricata/run | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/suricata/files/suricata/run b/srcpkgs/suricata/files/suricata/run
index b185a36352827..2bd0d44d1ddbe 100644
--- a/srcpkgs/suricata/files/suricata/run
+++ b/srcpkgs/suricata/files/suricata/run
@@ -1,6 +1,6 @@
 #!/bin/sh
 exec 2>&1
 [ -r conf ] && . ./conf
-mkdir -p /var/log/suricata /var/lib/suricata
-chown -R suricata:suricata /var/lib/suricata /var/log/suricata
-exec suricata -i ${INTERFACE:=eth0} ${OPTS}
+mkdir -p /var/log/suricata /var/lib/suricata /var/run/suricata
+chown -R suricata:suricata /var/lib/suricata /var/log/suricata /var/run/suricata
+exec suricata -i ${INTERFACE:=eth0} ${OPTS} >/dev/null

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Closed]: suricata: minor changes to run file
  2023-12-12 11:01 [PR PATCH] suricata: minor changes to run file c0m4r
@ 2023-12-18 18:51 ` c0m4r
  0 siblings, 0 replies; 2+ messages in thread
From: c0m4r @ 2023-12-18 18:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 330 bytes --]

There's a closed pull request on the void-packages repository

suricata: minor changes to run file
https://github.com/void-linux/void-packages/pull/47711

Description:
suppressing stdout as it's already being sent to the log
added missing /var/run/suricata

#### Testing the changes
- I tested the changes in this PR: **YES**

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-18 18:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-12 11:01 [PR PATCH] suricata: minor changes to run file c0m4r
2023-12-18 18:51 ` [PR PATCH] [Closed]: " c0m4r

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).