Compare commits
2 Commits
8671a28baf
...
e6db25d6e9
Author | SHA1 | Date | |
---|---|---|---|
e6db25d6e9
|
|||
0c0b5bb29a
|
@@ -130,7 +130,7 @@ in
|
||||
services.mastodon-web = {
|
||||
unitConfig.RequiresMountsFor = lib.mkIf sp.useBinds "/volumes/${cfg.location}/mastodon";
|
||||
serviceConfig = {
|
||||
loadCredentials = ["client-secret:${oauthClientSecretFP}"];
|
||||
LoadCredential = ["client-secret:${oauthClientSecretFP}"];
|
||||
ExecStart = lib.mkForce (pkgs.writeShellScript "run-mastodon-with-client-secret" ''
|
||||
export CLIENT_SECRET=$(cat $CREDENTIALS_DIRECTORY/client-secret)
|
||||
${config.services.mastodon.package}/bin/puma -C config/puma.rb
|
||||
|
Reference in New Issue
Block a user