From 351e21f7c7665503befe26a914840428712e4f4a Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 8 Sep 2019 10:25:39 +0200 Subject: [PATCH] build: Add ConfigurationDirectory= option to service files --- src/iwd.service.in | 3 ++- wired/ead.service.in | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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