X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FNix.git;a=blobdiff_plain;f=modules%2Fwebapps%2Fmastodon.nix;h=26d5238f118968878e1c0c920a9d1c0992a10ac3;hp=6255de91a708be894751ce298c4e67391abbaac5;hb=6551e648310639c215b3b8ea79066df761d950e1;hpb=3bc32d9ebd9b0900eeef756122ad28f8857f8bfe diff --git a/modules/webapps/mastodon.nix b/modules/webapps/mastodon.nix index 6255de9..26d5238 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;