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> | 2020-04-25 00:04:28 +0200 |
commit | 9d9610d708ac75f04c0876460d803c0cc18a0ef4 (patch) | |
tree | decec9f6537f8ba33b7d6e09abcb3268e26776f6 /modules/webapps | |
parent | 17eabf477b035ff4590640ebdfd69ca558437c51 (diff) | |
download | NUR-9d9610d708ac75f04c0876460d803c0cc18a0ef4.tar.gz NUR-9d9610d708ac75f04c0876460d803c0cc18a0ef4.tar.zst NUR-9d9610d708ac75f04c0876460d803c0cc18a0ef4.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 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; |