nixos/mastodon: set environment for mastodon-init-dirs (#112917)
mastodon-init-dirs should have the same environment as the other services, as it also calls rake. Especially RAILS_ENV was missing.
This commit is contained in:
parent
02e0538536
commit
b2dbb4f50e
1 changed files with 1 additions and 0 deletions
|
@ -367,6 +367,7 @@ in {
|
||||||
'' else "") + ''
|
'' else "") + ''
|
||||||
EOF
|
EOF
|
||||||
'';
|
'';
|
||||||
|
environment = env;
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
User = cfg.user;
|
User = cfg.user;
|
||||||
|
|
Loading…
Reference in a new issue