mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-16 21:33:30 +01:00
15 lines
628 B
Diff
15 lines
628 B
Diff
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
|