From ee8c94fbcefcf58e6bb9230d1629f6141071cd32 Mon Sep 17 00:00:00 2001 From: deathtrip Date: Sat, 19 Dec 2020 22:03:46 +0100 Subject: [PATCH] update systemd service file It's better to let directory creation be handled by packaging, instead of executing it on every daemon start. On Arch Linux that directory is already contained in the package. When that line is removed `PermissionsStartOnly=true` can go as well, it's [deprecated](https://github.com/systemd/systemd/pull/10802) anyway. --- daemon/opensnitchd.service | 2 -- 1 file changed, 2 deletions(-) diff --git a/daemon/opensnitchd.service b/daemon/opensnitchd.service index 6c3e6dfc27..5079906b34 100644 --- a/daemon/opensnitchd.service +++ b/daemon/opensnitchd.service @@ -6,8 +6,6 @@ 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 Restart=always RestartSec=30