aboutsummaryrefslogtreecommitdiff
path: root/virtual/modules/websites/tools
diff options
context:
space:
mode:
Diffstat (limited to 'virtual/modules/websites/tools')
-rw-r--r--virtual/modules/websites/tools/mastodon/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/virtual/modules/websites/tools/mastodon/default.nix b/virtual/modules/websites/tools/mastodon/default.nix
index 1549ca9..b2170b5 100644
--- a/virtual/modules/websites/tools/mastodon/default.nix
+++ b/virtual/modules/websites/tools/mastodon/default.nix
@@ -21,7 +21,7 @@ in {
21 uid = config.ids.uids.mastodon; 21 uid = config.ids.uids.mastodon;
22 group = "mastodon"; 22 group = "mastodon";
23 description = "Mastodon user"; 23 description = "Mastodon user";
24 home = "${mastodon.railsRoot}"; 24 home = mastodon.railsRoot;
25 useDefaultShell = true; 25 useDefaultShell = true;
26 }; 26 };
27 27
@@ -73,7 +73,7 @@ in {
73 environment.RAILS_ENV = "production"; 73 environment.RAILS_ENV = "production";
74 environment.SOCKET = mastodon.railsSocket; 74 environment.SOCKET = mastodon.railsSocket;
75 75
76 path = [ pkgs.bundler ]; 76 path = [ pkgs.bundler pkgs.file ];
77 77
78 preStart = '' 78 preStart = ''
79 bundle exec rails db:migrate 79 bundle exec rails db:migrate
@@ -104,7 +104,7 @@ in {
104 environment.RAILS_ENV="production"; 104 environment.RAILS_ENV="production";
105 environment.DB_POOL="5"; 105 environment.DB_POOL="5";
106 106
107 path = [ pkgs.bundler ]; 107 path = [ pkgs.bundler pkgs.file ];
108 108
109 script = '' 109 script = ''
110 exec bundle exec sidekiq -c 5 -q default -q mailers -q pull -q push 110 exec bundle exec sidekiq -c 5 -q default -q mailers -q pull -q push