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