give the secrets unit a private tmp for its prefetched secrets
This commit is contained in:
parent
5541e3606b
commit
92f79622f9
1 changed files with 6 additions and 0 deletions
|
|
@ -1215,6 +1215,10 @@ in
|
|||
storeRetry.serviceConfig
|
||||
// {
|
||||
LoadCredential = lib.attrNames storeFiles;
|
||||
# `store_prefetch` keeps secret values in files under the
|
||||
# temporary directory. A private one is removed by systemd when
|
||||
# the unit stops, which a kill at the start timeout is too.
|
||||
PrivateTmp = true;
|
||||
# Bounds one run, and so the container's boot when the store
|
||||
# accepts a connection and never answers: this unit is in the
|
||||
# boot wait of a container with a one-minute start limit.
|
||||
|
|
|
|||
Loading…
Reference in a new issue