fix
This commit is contained in:
@@ -138,7 +138,7 @@ in
|
||||
unitConfig.RequiresMountsFor = lib.mkIf sp.useBinds "/volumes/${cfg.location}/mastodon";
|
||||
serviceConfig = {
|
||||
loadCredentials = ["client-secret:${oauthClientSecretFP}"];
|
||||
ExecStart = ''
|
||||
ExecStart = lib.mkForce ''
|
||||
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