X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Fprivate%2Fwebsites%2Ftools%2Fmastodon%2Fdefault.nix;h=1a4b387c769a3cd55cf568afd7181dbbc4de1186;hb=17f6eae9907a122d4472da727ae8b1ac1c40c027;hp=d742a33a38a4a29c3dbd9db0292d3f7a163dc002;hpb=f33aade75160a345a721fd60451b9edaa4d10e44;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/modules/private/websites/tools/mastodon/default.nix b/modules/private/websites/tools/mastodon/default.nix index d742a33..1a4b387 100644 --- a/modules/private/websites/tools/mastodon/default.nix +++ b/modules/private/websites/tools/mastodon/default.nix @@ -63,6 +63,19 @@ in { socketsPrefix = "live_immae"; dataDir = "/var/lib/mastodon_immae"; }; + services.filesWatcher.mastodon-streaming = { + restart = true; + paths = [ mcfg.configFile ]; + }; + services.filesWatcher.mastodon-web = { + restart = true; + paths = [ mcfg.configFile ]; + }; + services.filesWatcher.mastodon-sidekiq = { + restart = true; + paths = [ mcfg.configFile ]; + }; + services.websites.tools.modules = [ "headers" "proxy" "proxy_wstunnel" "proxy_http"