Ravi Sir's Cards › AWS
Service ignores env?
This interview card answers: Service ignores env? Systemd does not read bashrc. Use Environment=. The card’s suggested next step is to add an override.
Read card text
What this card says
What it is
systemd does not read bashrc.
Why it matters
Use Environment=.
How / example
Add an override.
sudo systemctl edit shop-api