From 71ae0bee9c6320dae0083ed8c1700bc8fff1defb Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 8 Sep 2019 19:56:21 +0200 Subject: [PATCH] build: Add StateDirectory= option to service files --- src/iwd.service.in | 2 +- wired/ead.service.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/iwd.service.in b/src/iwd.service.in index 73c0a476..9b0158b5 100644 --- a/src/iwd.service.in +++ b/src/iwd.service.in @@ -18,7 +18,7 @@ ProtectSystem=strict ProtectControlGroups=yes ProtectKernelModules=yes ConfigurationDirectory=iwd -ReadWritePaths=@daemon_storagedir@ +StateDirectory=iwd [Install] WantedBy=multi-user.target diff --git a/wired/ead.service.in b/wired/ead.service.in index 4e048bc4..95397dcf 100644 --- a/wired/ead.service.in +++ b/wired/ead.service.in @@ -17,7 +17,7 @@ ProtectSystem=strict ProtectControlGroups=yes ProtectKernelModules=yes ConfigurationDirectory=ead -ReadWritePaths=@wired_storagedir@ +StateDirectory=ead [Install] WantedBy=multi-user.target