summaryrefslogtreecommitdiff
path: root/app-admin/opensnitch/files/opensnitch-1.6.2-systemd.patch
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/opensnitch-1.6.2-systemd.patch
parent29593225a7ace4b92617cf93e6e22ae43be4bb06 (diff)
app-admin/opensnitch : version bump
Diffstat (limited to 'app-admin/opensnitch/files/opensnitch-1.6.2-systemd.patch')
-rw-r--r--app-admin/opensnitch/files/opensnitch-1.6.2-systemd.patch15
1 files changed, 15 insertions, 0 deletions
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