Fix webhook-secrets.conf permissions

The secret is read by hydra-server which is run under hydra-www so that needs to be able to read the file.
This commit is contained in:
Sandro
2025-08-12 16:36:39 +02:00
committed by ahuston-0
parent f2cbf14f7e
commit 27c7476c3d

View File

@@ -28,7 +28,7 @@ EOF
# Set secure permissions
chmod 0600 /var/lib/hydra/secrets/webhook-secrets.conf
chown hydra:hydra /var/lib/hydra/secrets/webhook-secrets.conf
chown hydra-www:hydra /var/lib/hydra/secrets/webhook-secrets.conf
```
**Important**: Save the generated secrets to configure them in GitHub/Gitea later. You can view them with: