Signing back into the Community for the first time? You'll need to reset your password to access your account. Find out more.
Forum Discussion
XIII
3 years agoTrusted Contributor
How to inject a secret into the environment via a systemd service definition?
I want to inject a secret (password) into the environment for a systemd service, using either Environment= or EnvironmentFile= .
What I tried (and what failed):
1. Environment
Environm...
XIII
3 years agoTrusted Contributor
Might be because this service was using this (which is not recommended):
KillMode=process
Removed that line (to get the default mode control-group
) and that seems to work better (so far).