summaryrefslogtreecommitdiff
path: root/app-admin/opensnitch/files/systemd.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-24 11:24:47 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-24 11:24:47 +0000
commit8cf6c69a325cb846273310553be628156841931d (patch)
treef14c065d81975b6bdf401df5c5fe33cd600ca23e /app-admin/opensnitch/files/systemd.patch
parent7532435facaa7eb7315113a85be796479893171e (diff)
app-admin/opensnitch : new package (import from pentoo)
Diffstat (limited to 'app-admin/opensnitch/files/systemd.patch')
-rw-r--r--app-admin/opensnitch/files/systemd.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-admin/opensnitch/files/systemd.patch b/app-admin/opensnitch/files/systemd.patch
new file mode 100644
index 00000000..aa7a1324
--- /dev/null
+++ b/app-admin/opensnitch/files/systemd.patch
@@ -0,0 +1,13 @@
+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
+