build: Add StateDirectory= option to service files

This commit is contained in:
Marcel Holtmann 2019-09-08 19:56:21 +02:00
parent 8e3acef914
commit 71ae0bee9c
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ ProtectSystem=strict
ProtectControlGroups=yes
ProtectKernelModules=yes
ConfigurationDirectory=iwd
ReadWritePaths=@daemon_storagedir@
StateDirectory=iwd
[Install]
WantedBy=multi-user.target

View File

@ -17,7 +17,7 @@ ProtectSystem=strict
ProtectControlGroups=yes
ProtectKernelModules=yes
ConfigurationDirectory=ead
ReadWritePaths=@wired_storagedir@
StateDirectory=ead
[Install]
WantedBy=multi-user.target