Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
XIII
4 years agoSuper 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
4 years agoSuper 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).