mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-24 23:32:46 +01:00
build: Add StateDirectoryMode=0700 option to systemd service
This commit is contained in:
parent
c1a9f71b39
commit
1104d69e29
@ -21,6 +21,7 @@ ProtectControlGroups=yes
|
||||
ProtectKernelModules=yes
|
||||
ConfigurationDirectory=iwd
|
||||
StateDirectory=iwd
|
||||
StateDirectoryMode=0700
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -16,6 +16,7 @@ systemd-run \
|
||||
--property=ProtectSystem=strict \
|
||||
--property=ProtectControlGroups=yes \
|
||||
--property=ProtectKernelModules=yes \
|
||||
--property=StateDirectory=iwd \
|
||||
--property=ConfigurationDirectory=iwd \
|
||||
--property=StateDirectory=iwd \
|
||||
--property=StateDirectoryMode=0700 \
|
||||
./src/iwd $*
|
||||
|
@ -20,6 +20,7 @@ ProtectControlGroups=yes
|
||||
ProtectKernelModules=yes
|
||||
ConfigurationDirectory=ead
|
||||
StateDirectory=ead
|
||||
StateDirectoryMode=0700
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
Reference in New Issue
Block a user