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:
Harald Hoyer 2024-09-17 10:30:12 +02:00
parent 212070241a
commit ac082f77b0

View file

@ -2,6 +2,8 @@
{ {
sops.secrets."coturn/static-auth-secret" = { sops.secrets."coturn/static-auth-secret" = {
sopsFile = ../../../.secrets/hetzner/coturn.yaml; # bring your own password file sopsFile = ../../../.secrets/hetzner/coturn.yaml; # bring your own password file
restartUnits = [ "coturn.service" ];
owner = "turnserver";
}; };
services.coturn = { services.coturn = {