summaryrefslogtreecommitdiff
path: root/app-admin/opensnitch/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-21 13:27:11 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-21 13:27:11 +0100
commit6d418bd062b0a5ebe5b5139c71d7a94a7aa22077 (patch)
tree9bd62931b8624f29451667bfea1fa9663af7ffe4 /app-admin/opensnitch/files
parent29593225a7ace4b92617cf93e6e22ae43be4bb06 (diff)
app-admin/opensnitch : version bump
Diffstat (limited to 'app-admin/opensnitch/files')
-rw-r--r--app-admin/opensnitch/files/opensnitch-1.6.2-systemd.patch (renamed from app-admin/opensnitch/files/systemd.patch)12
1 files changed, 7 insertions, 5 deletions
diff --git a/app-admin/opensnitch/files/systemd.patch b/app-admin/opensnitch/files/opensnitch-1.6.2-systemd.patch
index aa7a1324..0006a4ab 100644
--- a/app-admin/opensnitch/files/systemd.patch
+++ b/app-admin/opensnitch/files/opensnitch-1.6.2-systemd.patch
@@ -1,13 +1,15 @@
diff --git a/daemon/opensnitchd.service b/daemon/opensnitchd.service
-index 014e79e..8a81d0e 100644
+index 3f05fad..bf29739 100644
--- a/daemon/opensnitchd.service
+++ b/daemon/opensnitchd.service
-@@ -8,7 +8,7 @@ After=network.target
+@@ -4,9 +4,7 @@ Documentation=https://github.com/evilsocket/opensnitch/wiki
+
+ [Service]
Type=simple
- PermissionsStartOnly=true
- ExecStartPre=/bin/mkdir -p /etc/opensnitchd/rules
+-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