diff --git a/src/iwd.service.in b/src/iwd.service.in index 9ebea5cd..73c0a476 100644 --- a/src/iwd.service.in +++ b/src/iwd.service.in @@ -15,9 +15,10 @@ DevicePolicy=closed DeviceAllow=/dev/rfkill rw ProtectHome=yes ProtectSystem=strict -ReadWritePaths=@daemon_storagedir@ ProtectControlGroups=yes ProtectKernelModules=yes +ConfigurationDirectory=iwd +ReadWritePaths=@daemon_storagedir@ [Install] WantedBy=multi-user.target diff --git a/wired/ead.service.in b/wired/ead.service.in index 812901db..4e048bc4 100644 --- a/wired/ead.service.in +++ b/wired/ead.service.in @@ -14,9 +14,10 @@ NoNewPrivileges=true PrivateDevices=true ProtectHome=yes ProtectSystem=strict -ReadWritePaths=@wired_storagedir@ ProtectControlGroups=yes ProtectKernelModules=yes +ConfigurationDirectory=ead +ReadWritePaths=@wired_storagedir@ [Install] WantedBy=multi-user.target