summaryrefslogtreecommitdiff
path: root/app-admin/opensnitch/files/opensnitch-1.6.2-systemd.patch
blob: 0006a4abb57a233dc6674bbd77029b2f1c211d59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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