fix(#2422): validate env files before user drop

This commit is contained in:
Rod Boev authored and nesquena-hermes committed 2026-07-14 01:06:48 +00:00
1 parent 09003b5e92
commit d77d956380
1 file changed
+1 -1
+1 -1
View File
@@ -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;