diff options
Diffstat (limited to 'app-admin/opensnitch/files')
-rw-r--r-- | app-admin/opensnitch/files/opensnitch-1.6.2-systemd.patch (renamed from app-admin/opensnitch/files/systemd.patch) | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/app-admin/opensnitch/files/systemd.patch b/app-admin/opensnitch/files/opensnitch-1.6.2-systemd.patch index aa7a1324..0006a4ab 100644 --- a/app-admin/opensnitch/files/systemd.patch +++ b/app-admin/opensnitch/files/opensnitch-1.6.2-systemd.patch @@ -1,13 +1,15 @@ diff --git a/daemon/opensnitchd.service b/daemon/opensnitchd.service -index 014e79e..8a81d0e 100644 +index 3f05fad..bf29739 100644 --- a/daemon/opensnitchd.service +++ b/daemon/opensnitchd.service -@@ -8,7 +8,7 @@ After=network.target +@@ -4,9 +4,7 @@ Documentation=https://github.com/evilsocket/opensnitch/wiki + + [Service] Type=simple - PermissionsStartOnly=true - ExecStartPre=/bin/mkdir -p /etc/opensnitchd/rules +-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 |