diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-09-07 10:57:40 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-09-07 10:59:02 +0200 |
commit | 6551e648310639c215b3b8ea79066df761d950e1 (patch) | |
tree | 862b8bb3d962e7a79579b59a279a5a43165ffd02 /modules/webapps | |
parent | 3bc32d9ebd9b0900eeef756122ad28f8857f8bfe (diff) | |
download | Nix-6551e648310639c215b3b8ea79066df761d950e1.tar.gz Nix-6551e648310639c215b3b8ea79066df761d950e1.tar.zst Nix-6551e648310639c215b3b8ea79066df761d950e1.zip |
Upgrade mastodon
Diffstat (limited to 'modules/webapps')
-rw-r--r-- | modules/webapps/mastodon.nix | 3 |
1 files changed, 3 insertions, 0 deletions
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 | |||
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; |