diff options
Diffstat (limited to 'app-admin/opensnitch/files/systemd.patch')
-rw-r--r-- | app-admin/opensnitch/files/systemd.patch | 15 |
1 files changed, 15 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..0006a4ab --- /dev/null +++ b/app-admin/opensnitch/files/systemd.patch @@ -0,0 +1,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 |