fix(#2422): validate env files before user drop
This commit is contained in:
1 parent
09003b5e92
commit
d77d956380
1 file changed
+1
-1
@@ -175,7 +175,7 @@ in
|
||||
Type = "simple";
|
||||
User = cfg.user;
|
||||
Group = cfg.group;
|
||||
ExecStartPre = lib.optional (cfg.environmentFiles != [ ]) "${protectedEnvironmentFileCheck} ${lib.escapeShellArgs (map builtins.toString cfg.environmentFiles)}";
|
||||
ExecStartPre = lib.optional (cfg.environmentFiles != [ ]) "+${protectedEnvironmentFileCheck} ${lib.escapeShellArgs (map builtins.toString cfg.environmentFiles)}";
|
||||
ExecStart = "${cfg.package}/bin/hermes-webui";
|
||||
Restart = "on-failure";
|
||||
Environment = mappedEnvironment;
|
||||
|
||||
Reference in new issue
Block a user