test
This commit is contained in:
@@ -133,8 +133,8 @@ in
|
|||||||
LoadCredential = ["client-secret:${oauthClientSecretFP}"];
|
LoadCredential = ["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)
|
||||||
echo $CLIENT_SECRET # TODO: debug only option
|
echo -n $CLIENT_SECRET # TODO: debug only option
|
||||||
${config.services.mastodon.package}/bin/puma -C config/puma.rb
|
CLIENT_SECRET=$(cat $CREDENTIALS_DIRECTORY/client-secret) ${config.services.mastodon.package}/bin/puma -C config/puma.rb
|
||||||
'');
|
'');
|
||||||
};
|
};
|
||||||
environment = {
|
environment = {
|
||||||
|
Reference in New Issue
Block a user