Closed dacbd closed 2 years ago
Yes, the action point wouldn't be removing that logic (yet), but just making it exclusive to ExecStop*
@0x2b3bfa0 Does systemd allow different EnvironmentFile
s per Exec*
cmd?
Or add :
to the ExecStart
and monkey patch the proper envs in differently?
It's a bit more involved:
ExecStart should receive all the environment variables except for the credentials.
ExecStop* should receive all the environment variables.
We may need to differentiate credentials from the rest of variables and
source
the former only when needed.
As discussed: the credentials used to "create" the
task
!= credentials of thetask
.See #550 comments for some additional context. Prevents #550 and #501 from working properly.