aboutsummaryrefslogtreecommitdiff
path: root/modules/webapps/mastodon.nix
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-09-07 10:57:40 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-09-07 10:59:02 +0200
commit6551e648310639c215b3b8ea79066df761d950e1 (patch)
tree862b8bb3d962e7a79579b59a279a5a43165ffd02 /modules/webapps/mastodon.nix
parent3bc32d9ebd9b0900eeef756122ad28f8857f8bfe (diff)
downloadNix-6551e648310639c215b3b8ea79066df761d950e1.tar.gz
Nix-6551e648310639c215b3b8ea79066df761d950e1.tar.zst
Nix-6551e648310639c215b3b8ea79066df761d950e1.zip
Upgrade mastodon
Diffstat (limited to 'modules/webapps/mastodon.nix')
-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 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;