pentoo-overlay/app-admin/opensnitch/files/systemd.patch
Kai-Chun Ning 9b1901ddae
app-admin/opensnitch: update patch for systemd service
Signed-off-by: Kai-Chun Ning <kaichun.ning@gmail.com>
2023-02-15 09:50:49 +01:00

21 lines
824 B
Diff

diff --git a/daemon/opensnitchd.service b/daemon/opensnitchd.service
index 6c3e6df..57e44b3 100644
--- a/daemon/opensnitchd.service
+++ b/daemon/opensnitchd.service
@@ -1,14 +1,12 @@
[Unit]
Description=OpenSnitch is a GNU/Linux port of the Little Snitch application firewall.
-Documentation=https://github.com/gustavo-iniguez-goya/opensnitch/wiki
+Documentation=https://github.com/evilsocket/opensnitch/wiki
Wants=network.target
After=network.target
[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