summarylogtreecommitdiffstats
path: root/fix-systemd-service.patch
diff options
context:
space:
mode:
Diffstat (limited to 'fix-systemd-service.patch')
-rw-r--r--fix-systemd-service.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/fix-systemd-service.patch b/fix-systemd-service.patch
new file mode 100644
index 000000000000..be16ae30e298
--- /dev/null
+++ b/fix-systemd-service.patch
@@ -0,0 +1,34 @@
+diff --git a/daemon/opensnitchd.service b/daemon/opensnitchd.service
+index 3f05fad..0aea7fc 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
+ Restart=always
+ RestartSec=30
+ TimeoutStopSec=10
+diff --git a/utils/packaging/daemon/deb/debian/opensnitch.service b/utils/packaging/daemon/deb/debian/opensnitch.service
+index b4301a5..6fc91f3 100644
+--- a/utils/packaging/daemon/deb/debian/opensnitch.service
++++ b/utils/packaging/daemon/deb/debian/opensnitch.service
+@@ -1,13 +1,11 @@
+ [Unit]
+ Description=Application firewall OpenSnitch
+-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/bin/opensnitchd -rules-path /etc/opensnitchd/rules
+ Restart=always
+ RestartSec=30