summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/webapps/mastodon.nix3
1 files changed, 3 insertions, 0 deletions
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
171 exec ./bin/bundle exec puma -C config/puma.rb 171 exec ./bin/bundle exec puma -C config/puma.rb
172 ''; 172 '';
173 173
174 postStart = ''
175 exec ./bin/tootctl cache clear
176 '';
174 serviceConfig = { 177 serviceConfig = {
175 User = cfg.user; 178 User = cfg.user;
176 EnvironmentFile = cfg.configFile; 179 EnvironmentFile = cfg.configFile;