From 9d9610d708ac75f04c0876460d803c0cc18a0ef4 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') 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; -- cgit v1.2.3