Skip to content

Commit

Permalink
nixos/mastodon: set environment for mastodon-init-dirs (NixOS#112917)
Browse files Browse the repository at this point in the history
mastodon-init-dirs should have the same environment as the other
services, as it also calls rake. Especially RAILS_ENV was missing.
  • Loading branch information
erictapen authored Feb 12, 2021
1 parent 02e0538 commit b2dbb4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nixos/modules/services/web-apps/mastodon.nix
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ in {
'' else "") + ''
EOF
'';
environment = env;
serviceConfig = {
Type = "oneshot";
User = cfg.user;
Expand Down

0 comments on commit b2dbb4f

Please sign in to comment.