summaryrefslogtreecommitdiff
path: root/app-admin/opensnitch/files/systemd.patch
diff options
context:
space:
mode:
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
+