From 6551e648310639c215b3b8ea79066df761d950e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sat, 7 Sep 2019 10:57:40 +0200 Subject: Upgrade mastodon --- modules/webapps/mastodon.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/webapps/mastodon.nix') 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; -- cgit v1.2.3