3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 09:39:25 +01:00

build: Add ConfigurationDirectory= option to service files

This commit is contained in:
Marcel Holtmann 2019-09-08 10:25:39 +02:00
parent 4c841edfb5
commit 351e21f7c7
2 changed files with 4 additions and 2 deletions

View File

@ -15,9 +15,10 @@ DevicePolicy=closed
DeviceAllow=/dev/rfkill rw DeviceAllow=/dev/rfkill rw
ProtectHome=yes ProtectHome=yes
ProtectSystem=strict ProtectSystem=strict
ReadWritePaths=@daemon_storagedir@
ProtectControlGroups=yes ProtectControlGroups=yes
ProtectKernelModules=yes ProtectKernelModules=yes
ConfigurationDirectory=iwd
ReadWritePaths=@daemon_storagedir@
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

View File

@ -14,9 +14,10 @@ NoNewPrivileges=true
PrivateDevices=true PrivateDevices=true
ProtectHome=yes ProtectHome=yes
ProtectSystem=strict ProtectSystem=strict
ReadWritePaths=@wired_storagedir@
ProtectControlGroups=yes ProtectControlGroups=yes
ProtectKernelModules=yes ProtectKernelModules=yes
ConfigurationDirectory=ead
ReadWritePaths=@wired_storagedir@
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target