This commit is contained in:
2025-09-12 15:08:34 +03:00
parent 25133ecf7c
commit 68fd025c02

View File

@@ -140,7 +140,7 @@ in
loadCredentials = ["client-secret:${oauthClientSecretFP}"]; loadCredentials = ["client-secret:${oauthClientSecretFP}"];
ExecStart = lib.mkForce (pkgs.writeShellScript "run-mastodon-with-client-secret" '' ExecStart = lib.mkForce (pkgs.writeShellScript "run-mastodon-with-client-secret" ''
export CLIENT_SECRET=$(cat $CREDENTIALS_DIRECTORY/client-secret) export CLIENT_SECRET=$(cat $CREDENTIALS_DIRECTORY/client-secret)
${config.services.mastodon.package}/bin/puma -C config/puma.rb` ${config.services.mastodon.package}/bin/puma -C config/puma.rb
''); '');
}; };
environment = { environment = {