mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-02-17 16:20:39 +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
|
ProtectKernelModules=yes
|
||||||
ConfigurationDirectory=iwd
|
ConfigurationDirectory=iwd
|
||||||
StateDirectory=iwd
|
StateDirectory=iwd
|
||||||
|
StateDirectoryMode=0700
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -16,6 +16,7 @@ systemd-run \
|
|||||||
--property=ProtectSystem=strict \
|
--property=ProtectSystem=strict \
|
||||||
--property=ProtectControlGroups=yes \
|
--property=ProtectControlGroups=yes \
|
||||||
--property=ProtectKernelModules=yes \
|
--property=ProtectKernelModules=yes \
|
||||||
--property=StateDirectory=iwd \
|
|
||||||
--property=ConfigurationDirectory=iwd \
|
--property=ConfigurationDirectory=iwd \
|
||||||
|
--property=StateDirectory=iwd \
|
||||||
|
--property=StateDirectoryMode=0700 \
|
||||||
./src/iwd $*
|
./src/iwd $*
|
||||||
|
@ -20,6 +20,7 @@ ProtectControlGroups=yes
|
|||||||
ProtectKernelModules=yes
|
ProtectKernelModules=yes
|
||||||
ConfigurationDirectory=ead
|
ConfigurationDirectory=ead
|
||||||
StateDirectory=ead
|
StateDirectory=ead
|
||||||
|
StateDirectoryMode=0700
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user