You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rails 5.2 introduced encrypted credentials. One way master key can be stored is via ENV["RAILS_MASTER_KEY"]. If ExecStart is not executed as login shell variables set in .bashrc are not available, credentials decrypted and app crashes here and there depending on how they are referenced.
Would it be possible to wrap systemd template command in /bin/bash -lc "..."?
Cheers 🍷
The text was updated successfully, but these errors were encountered:
For example:
Rails 5.2 introduced encrypted credentials. One way master key can be stored is via
ENV["RAILS_MASTER_KEY"]
. If ExecStart is not executed as login shell variables set in .bashrc are not available, credentials decrypted and app crashes here and there depending on how they are referenced.Would it be possible to wrap systemd template command in
/bin/bash -lc "..."
?Cheers 🍷
The text was updated successfully, but these errors were encountered: