diff --git a/src/iwd.service.in b/src/iwd.service.in index 73c0a476..9b0158b5 100644 --- a/src/iwd.service.in +++ b/src/iwd.service.in @@ -18,7 +18,7 @@ ProtectSystem=strict ProtectControlGroups=yes ProtectKernelModules=yes ConfigurationDirectory=iwd -ReadWritePaths=@daemon_storagedir@ +StateDirectory=iwd [Install] WantedBy=multi-user.target diff --git a/wired/ead.service.in b/wired/ead.service.in index 4e048bc4..95397dcf 100644 --- a/wired/ead.service.in +++ b/wired/ead.service.in @@ -17,7 +17,7 @@ ProtectSystem=strict ProtectControlGroups=yes ProtectKernelModules=yes ConfigurationDirectory=ead -ReadWritePaths=@wired_storagedir@ +StateDirectory=ead [Install] WantedBy=multi-user.target