X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FNix%2FNUR.git;a=blobdiff_plain;f=modules%2Fwebapps%2Fmastodon.nix;h=26d5238f118968878e1c0c920a9d1c0992a10ac3;hp=6255de91a708be894751ce298c4e67391abbaac5;hb=9d9610d708ac75f04c0876460d803c0cc18a0ef4;hpb=17eabf477b035ff4590640ebdfd69ca558437c51 diff --git a/modules/webapps/mastodon.nix b/modules/webapps/mastodon.nix index 6255de91..26d5238f 100644 --- a/modules/webapps/mastodon.nix +++ b/modules/webapps/mastodon.nix @@ -171,6 +171,9 @@ in exec ./bin/bundle exec puma -C config/puma.rb ''; + postStart = '' + exec ./bin/tootctl cache clear + ''; serviceConfig = { User = cfg.user; EnvironmentFile = cfg.configFile;