mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-26 10:06:13 +01:00
Trigger restart of vault-agent on key update on toothpick
Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
parent
63b8d8b7c3
commit
1f1b61004a
|
@ -62,6 +62,7 @@ inputs: {
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.vault-agent = {
|
systemd.services.vault-agent = {
|
||||||
|
restartTriggers = [ "/etc/vault-agent/vault.crt" "/etc/vault-agent/vault.key" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecPreStart = "mkdir -p /var/secrets/ && chown -R vault-agent:secrets /var/secrets/";
|
ExecPreStart = "mkdir -p /var/secrets/ && chown -R vault-agent:secrets /var/secrets/";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue