From 6d418bd062b0a5ebe5b5139c71d7a94a7aa22077 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 21 Oct 2023 13:27:11 +0100 Subject: app-admin/opensnitch : version bump --- app-admin/opensnitch/files/opensnitch-1.6.2-systemd.patch | 15 +++++++++++++++ app-admin/opensnitch/files/systemd.patch | 13 ------------- 2 files changed, 15 insertions(+), 13 deletions(-) create mode 100644 app-admin/opensnitch/files/opensnitch-1.6.2-systemd.patch delete mode 100644 app-admin/opensnitch/files/systemd.patch (limited to 'app-admin/opensnitch/files') diff --git a/app-admin/opensnitch/files/opensnitch-1.6.2-systemd.patch b/app-admin/opensnitch/files/opensnitch-1.6.2-systemd.patch new file mode 100644 index 00000000..0006a4ab --- /dev/null +++ b/app-admin/opensnitch/files/opensnitch-1.6.2-systemd.patch @@ -0,0 +1,15 @@ +diff --git a/daemon/opensnitchd.service b/daemon/opensnitchd.service +index 3f05fad..bf29739 100644 +--- a/daemon/opensnitchd.service ++++ b/daemon/opensnitchd.service +@@ -4,9 +4,7 @@ Documentation=https://github.com/evilsocket/opensnitch/wiki + + [Service] + Type=simple +-PermissionsStartOnly=true +-ExecStartPre=/bin/mkdir -p /etc/opensnitchd/rules +-ExecStart=/usr/local/bin/opensnitchd -rules-path /etc/opensnitchd/rules ++ExecStart=/usr/bin/opensnitchd -rules-path /etc/opensnitchd/rules -ui-socket unix:///tmp/osui.sock -cpu-profile /tmp/cpu.profile -mem-profile /tmp/mem.profile + Restart=always + RestartSec=30 + TimeoutStopSec=10 diff --git a/app-admin/opensnitch/files/systemd.patch b/app-admin/opensnitch/files/systemd.patch deleted file mode 100644 index aa7a1324..00000000 --- a/app-admin/opensnitch/files/systemd.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/daemon/opensnitchd.service b/daemon/opensnitchd.service -index 014e79e..8a81d0e 100644 ---- a/daemon/opensnitchd.service -+++ b/daemon/opensnitchd.service -@@ -8,7 +8,7 @@ After=network.target - Type=simple - PermissionsStartOnly=true - ExecStartPre=/bin/mkdir -p /etc/opensnitchd/rules --ExecStart=/usr/local/bin/opensnitchd -rules-path /etc/opensnitchd/rules -+ExecStart=/usr/bin/opensnitchd -rules-path /etc/opensnitchd/rules -ui-socket unix:///tmp/osui.sock -cpu-profile /tmp/cpu.profile -mem-profile /tmp/mem.profile - Restart=always - RestartSec=30 - -- cgit v1.2.3