mirror of
https://github.com/Defelo/nginx-oidc.git
synced 2025-05-12 13:02:48 +00:00
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:
parent
fc0ac00968
commit
471b8268fa
1 changed files with 2 additions and 0 deletions
|
@ -214,6 +214,8 @@ in
|
|||
environment.RUST_LOG = cfg.logLevel;
|
||||
|
||||
serviceConfig = {
|
||||
Type = "exec";
|
||||
Restart = "always";
|
||||
User = "nginx-oidc";
|
||||
Group = "nginx-oidc";
|
||||
DynamicUser = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue