commit 351e21f7c7665503befe26a914840428712e4f4a
parent 4c841edfb52ce6241993181fda2d79d06816c917
Author: Marcel Holtmann <marcel@holtmann.org>
Date: Sun, 8 Sep 2019 10:25:39 +0200
build: Add ConfigurationDirectory= option to service files
Diffstat:
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git 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
@@ -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