feat(coturn): set owner and add restart units for secrets
Ensure the coturn static-auth-secret has the correct owner and specifies restart units. This enhances security by assigning ownership and improves reliability by ensuring relevant units restart when secrets change.
This commit is contained in:
parent
212070241a
commit
ac082f77b0
|
@ -2,6 +2,8 @@
|
|||
{
|
||||
sops.secrets."coturn/static-auth-secret" = {
|
||||
sopsFile = ../../../.secrets/hetzner/coturn.yaml; # bring your own password file
|
||||
restartUnits = [ "coturn.service" ];
|
||||
owner = "turnserver";
|
||||
};
|
||||
|
||||
services.coturn = {
|
||||
|
|
Loading…
Reference in a new issue