fix: set systemd service type to exec

Sometimes the service fails to start if the type is set to simple (the
default) and ExecStartPost is used.
This commit is contained in:
Felix Bargfeldt 2025-05-06 20:49:47 +02:00
parent fc0ac00968
commit 471b8268fa
Signed by: Defelo
GPG key ID: 2A05272471204DD3

View file

@ -214,6 +214,8 @@ in
environment.RUST_LOG = cfg.logLevel;
serviceConfig = {
Type = "exec";
Restart = "always";
User = "nginx-oidc";
Group = "nginx-oidc";
DynamicUser = true;